Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

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

Asleson, Ryan

2004-11-15

Replies:


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.
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.