create a java.io.StringReader, then create a org.xml.sax.InputSource from
the StringReader.  Pass the input source into the parse() method and you are
home free.

- Greg

-----Original Message-----
From: Jean Georges PERRIN [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 17, 2000 7:43 AM
To: [EMAIL PROTECTED]
Subject: [Java|1.0.1] Parsing from StringBuffer...


Hi,

I have some data in a StringBuffer. These data are XML. I'd like to parse
them. How can I "feed" the DOM parser wo/ writing a file ?

TIA

Jean Georges PERRIN
--
Four J's Development Tools (www.4js.com)
[EMAIL PROTECTED] - Tel +33 (0)3 88 18 61 20 - Fax +33 (0)3 88 18 61 21
--
CAUTION: import com.fourjs.StandardDisclaimer;

Reply via email to