I think I figured this out already...

a) create a StringReader
b) create and InputSource from the reader
c) pass the InputSource to parser.parse()

- Greg

-----Original Message-----
From: Gregory Krasnow [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 09, 2000 9:26 AM
To: Xerces Developer List
Subject: [Xerces-J] Excuse me if this is a dumb question...


In the old IBM xml4j I was able to create a TXDocument from from a string by
creating a StringReader and from the String and then passing this to the
parser.readStream().  I do not seem to find an equivalent method in
XMLParser.  Is there an equivalent way to do this?
 
- Greg
 
Gregory Krasnow
Senior Software Engineer
Stone Analytics, Inc.
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
Tel: 619.503.7540 x204
Fax: 619.503-7541
www.stonenalytics.com <http://www.stonenalytics.com/> 
 

Reply via email to