Re: XML in a string
Devin Nance <[email protected]> Tue, 12 Aug 2003 10:04:16 -0500
| Newsgroups | gmane.comp.java.sun.xml.general |
|---|---|
| Message-ID | <[email protected]> |
Dear Sargon,
Can you use java.io.ByteArrayInputStream to pull the String into an
InputStream and then pass it to the XML instance?
ByteArrayInputStream bais = new ByteArrayInputStream(xmldata.getBytes());
Devin
"Sargon Chan
(Home)" To: [email protected]
<sargonc@I-CABLE. cc:
COM> Subject: XML in a string
Sent by: XML
technologies in
the Java Platform
<XML-INTEREST@JAV
A.SUN.COM>
08/11/2003 08:44
PM
Please respond to
XML technologies
in the Java
Platform
Dear all,
I am a new comer of XML programming. I have a project required to build a
DOM object from a XML stored in a Java string. Will the "InputSource" or
"XMLReader" can work wth a Java string ?
Best regards,
Sargon
----------------------------------------------------- xml-interest: A list
for discussing XML technologies in the Java Platform. To post,
mailto:[email protected] Archives at:
http://archives.java.sun.com/xml-interest.html To unsubscribe,
mailto:[email protected] the following message; signoff xml-interest.
-----------------------------------------------------
xml-interest: A list for discussing XML technologies in the Java Platform.
To post, mailto:[email protected]
Archives at: http://archives.java.sun.com/xml-interest.html
To unsubscribe, mailto:[email protected] the following message;
signoff xml-interest.