[jdom-interest] jdom and xml and xsl

meriem bessais meriem.bessais at gmail.com
Sat Dec 20 22:43:39 PST 2008

the problem is that i didn't find the intruction to insert  this
header in xml file thate i generate with a java bean.

2008/12/20, Paul Libbrecht <paul at activemath.org>:
> Meriem, that thing is a processing instruction with target "xml-
> stylesheet" and some arbitrary string content.
> I think it should help you add the appropriate content to the root
> element...
> paul
> Le 20-déc.-08 à 17:37, meriem bessais a écrit :
>> I have little question for JDOM.
>> I want to add stylesheet (<?xml-stylesheet type="text/xsl"
>> href="style.xsl"?>) in to my Document of JDOM.
>> Currently my program can generate whole XML document but the issue is
>> that I have to present it on web browser using XSL Sytleseet and have
>> to add above code in to my JDOM document.
>> Please write the code of adding xsl stylesheet in to jdom document.
>> I hope that you understand my question..

More information about the jdom-interest mailing list