|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: parsing of xml string
Jeff Rafter scripsit: > To parse an XML file from String, you wll need to wrap the string in an > InputStream and then send the stream to the InputSource constructor. You can > still set the system and public ids but it is not necessary-- the SAX parser > should use the stream. Better to use a Reader rather than an InputStream, since a String is inherently character-oriented, not byte-oriented. -- Schlingt dreifach einen Kreis vom dies! || John Cowan <jcowan@r...> Schliesst euer Aug vor heiliger Schau, || http://www.reutershealth.com Denn er genoss vom Honig-Tau, || http://www.ccil.org/~cowan Und trank die Milch vom Paradies. -- Coleridge (tr. Politzer)
|
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








