This discussion is archived
2 Replies Latest reply: Apr 30, 2007 11:16 AM by jschellSomeoneStoleMyAlias RSS

Parsing an XML document from a string - not a file

807599 Newbie
Currently Being Moderated
Hello, I was wondering if it is possible to parse XML using dom, where the input XML is a string, and not an actual file. I was hoping to be able to bypass creating a file.

So like

String xmlDoc = "<?xml version ... "

and then pass that to DOM somehow