RE: jdom and xml and xsl
"Michael Kay" <[email protected]>
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Message-ID | <BB5901D0599D4FE58CD3CFB87D417889@Sealion> |
Create a ProcessingInstruction object and add it to the document node using addContent(). Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of meriem bessais > Sent: 21 December 2008 06:44 > To: Paul Libbrecht > Cc: [email protected] > 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 <[email protected]>: > > 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 _______________________________________________ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/[email protected]