cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Durrant, Peter" <>
Subject RE: Outputing a JDOM document in an XSP page
Date Tue, 12 Feb 2002 17:39:37 GMT

I found a solution to my problem using the JDOM XMLOutputter. This will
output an XML document from a JDOM into a tag (<mytag> in the example

	org.jdom.input.SAXBuilder builder = new org.jdom.input.SAXBuilder();
	org.jdom.Document doc =;
	org.jdom.output.XMLOutputter fmt = new

If anyone has experience of this, is this the most efficient method?

-- Using <xsp:expr>doc.getDocumentElement()</xsp:expr>
-- essentially outputs just the name of the node.

Cognos, London, UK

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message