Re: XML in a string
"Sargon Chan (Home)" <[email protected]> Sat, 16 Aug 2003 07:07:33 +0800
| Newsgroups | gmane.comp.java.sun.xml.general |
|---|---|
| Message-ID | <[email protected]> |
Devin, Thank you for the inofrmation, it works. Best regards, Sargon ----- Original Message ----- From: "Devin Nance" <[email protected]> To: <[email protected]> Sent: Tuesday, August 12, 2003 11:04 PM Subject: Re: XML in a string > 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. > > ----------------------------------------------------- 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.