[jdom-interest] Include a PI when building a JDOM doc?

Rob Mitchell rjmitchell at attbi.com
Wed Mar 12 13:23:28 PST 2003


Hi,

Can anyone answer this please?



Element elemRoot = new Element("ExpenseReports");

jdomDoc = new Document(elemRoot);

//<xsl:stylesheet version="1.0" xmlns:xsl="MyExpenseReport.xsl">

jdomDoc.addContent(new ProcessingInstruction("",""));



How do I put the processing instruction for the XSL stylesheet into the JDOM doc? We want the user's browser to render the XML/XSL into HTML. 

TIA!



_______________________________________
Rob Mitchell
Base Class Technologies, Inc.
Java, WebSphere, Domino, Oracle, Web development
rjmitchell at attbi.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20030312/94414191/attachment.htm


More information about the jdom-interest mailing list