[jdom-interest] jdom and xml and xsl

Michael Kay mike at saxonica.com
Sun Dec 21 01:39:06 PST 2008


Create a ProcessingInstruction object and add it to the document node using
addContent().

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: jdom-interest-bounces at jdom.org 
> [mailto:jdom-interest-bounces at jdom.org] On Behalf Of meriem bessais
> Sent: 21 December 2008 06:44
> To: Paul Libbrecht
> Cc: jdom-interest at jdom.org
> Subject: Re : [jdom-interest] jdom and xml and xsl
> 
> hi
> 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..
> >
> >
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://www.jdom.org/mailman/options/jdom-interest/youraddr@you
> rhost.com




More information about the jdom-interest mailing list