|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Parsing a String
> 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/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








