[jdom-interest] Adding reference to xsl stylesheet to xml document

Asleson, Ryan asleson at biworldwide.com
Mon Nov 15 07:40:00 PST 2004


Hello,

This is probably a FAQ as I saw it mentioned a few times when searching the
archives but never saw an answer posted.

I have an org.jdom.Document.  I want to add this to the top of the xml
document, right under the <?xml version= .... line:


<?xml-stylesheet type="text/xsl" href="stylesheet.xsl"?>


How do I do this?  Is there a method on the org.jdom.Document class or do I
do it some other way?

Thank you very much!




This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by phone or reply by e-mail, delete the original message and destroy all copies. Thank you.


More information about the jdom-interest mailing list