[jdom-interest] String of Element

Matthew MacKenzie matt at xmlglobal.com
Tue Jan 30 12:30:01 PST 2001

doh! I never read all of the api docs :-)

Matthew MacKenzie
VP Research & Development
XML Global Technologies, Inc.

-----Original Message-----
From: Jason Hunter [mailto:jhunter at collab.net]
Sent: January 30, 2001 12:25 PM
To: Matthew MacKenzie
Cc: pavel at enow.co.il; jdom-interest at jdom.org
Subject: Re: [jdom-interest] String of Element

> How can I receive String representation of some Element including all
> children?

Use XMLOutputter.

String rep = outputter.outputString(elt);

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2879 bytes
Desc: not available
Url : http://jdom.org/pipermail/jdom-interest/attachments/20010130/0f80aad9/smime.bin

More information about the jdom-interest mailing list