[jdom-interest] Building document from a String

Noam Tamim noamt at yahoo.com
Mon May 7 15:23:45 PDT 2001


You can use the java.io.StringReader class for that.
It's constructor takes a String, and you can feed it to SAXBuilder.build(),
because it's a java.io.Reader.


----- Original Message -----
From: <Nishan_Fonseka at canadalifeus.com>
To: <jdom-interest at jdom.org>
Sent: Monday, May 07, 2001 23:07
Subject: [jdom-interest] Building document from a String


>
>
> How can I build a JDOM document from a string. I am building a server side
web
> application where I get a XML string and I want to make JDOM object out of
this
> XML string.  The DOMBuilder does not have a method I could use for this
purpose.
> A code snipet would be great. Thanks a lot.
>
> Nishan
>
>
> _______________________________________________
> To control your jdom-interest membership:
>
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com




More information about the jdom-interest mailing list