[Home] [By Thread] [By Date] [Recent Entries]
> Is it possible to use an XML Parser to parse an XML text > contained in a String or a StringBuffer ? yes, if the parser supports the SAX interface: take a look at the SAX InputSource object. You actually need to supply a StringReader but that's trivial. The one thing to be careful of is that it's a good idea to supply a SystemId as well, to act as a base URL for resolving any relative URL's within the document. Mike Kay *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|

Cart



