[jdom-interest] Re: jdom-interest digest, Vol 1 #974 - 1 msg
Peter.H.Roberts at bbh.com
Peter.H.Roberts at bbh.com
Mon Jul 1 08:45:29 PDT 2002
I recently did this, so:-
String xmlSnippet = "<element><yadayada>data</yadayada></element>";
StringReader sr = new StringReader( xmlSnippet );
SAXBuilder builder = new SAXBuilder();
Document xmlDoc = builder.build( sr );
The research took longer than the code.
Peter:)
jdom-interest-adm
in at jdom.org To: jdom-interest at jdom.org
cc:
06/30/2002 02:07 Subject: jdom-interest digest, Vol 1 #974 - 1 msg
AM
Please respond to
jdom-interest
Send jdom-interest mailing list submissions to
jdom-interest at jdom.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.denveronline.net/mailman/listinfo/jdom-interest
or, via email, send a message with subject or body 'help' to
jdom-interest-request at jdom.org
You can reach the person managing the list at
jdom-interest-admin at jdom.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of jdom-interest digest..."
Today's Topics:
1. Re: Building Dom document from a string. (Jason Hunter)
--__--__--
Message: 1
Date: Sat, 29 Jun 2002 07:56:33 -0700
From: Jason Hunter <jhunter at servlets.com>
To: "Grinvald, Edward" <EDWARD.GRINVALD at ca.com>
CC: jdom-interest at jdom.org
Subject: Re: [jdom-interest] Building Dom document from a string.
StringReader.
-jh-
> "Grinvald, Edward" wrote:
>
> Hi all,
> I have a small question:
> How do i build a document using DOMBuilder from a string that
> contains my xml document. I'm not sure how to do this since the
> StringBufferInputStream is deprecated.
>
> Thank You,
>
> Edward Grinvald
> Computer Associates International
> Programmer, Storage Development
> Edward.Grinvald at ca.com
> 1-631-342-6000 x76350
>
--__--__--
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
End of jdom-interest Digest
More information about the jdom-interest
mailing list