Why don’t you use a java.io.StringBufferInputStream?

 

--------

David

 

-----Mensaje original-----
De: Brian Delahunty [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 18 de junio de 2003 17:11
Para: [EMAIL PROTECTED]
Asunto: XML Parsing + SAX

 

Hey,

 

I have a String that contains an XML file [not a URL/URI that points to an XML file but the actual XML itself].

 

I'm tying to use this string in a custom generator to produce sa exents. I'm using this code so far:


XMLReader xmlr = XMLReaderFactory.createXMLReader();
xmlr.setContentHandler(
this.contentHandler);
xmlr.parse( <don't know what goes here> );

 

I can't get parse to work with a String.

 

Any ideas?

 

Brian

 

Reply via email to