[jdom-interest] setting a stylesheet for an xml document

Sam bytecode at Phreaker.net
Tue Jun 18 14:20:30 PDT 2002


Exactly as you describe below. 

<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet type="text/xsl" href="aStyleSheet.xsl"?>
./s



bob mcwhirter wrote:
> 
> That'd be a ProcessingInstruction.
> 
>         -bob
> 
> On Tue, 11 Jun 2002, Richard Backhouse wrote:
> 
> > i've seen a similar question in the archives but couldn't find an answer. i think what i need to does is simple, and i'll probably kick myself when i find out, but how do i set an xsl stylesheet for a document using jdom? i.e.
> > after the initial <?xml version="1.0" encoding="UTF-8"?> i need to add something like <?xml-stylesheet type="text/xsl" href="aStyleSheet.xsl"?>.
> >
> > Thanks,
> >
> > Richard
> >
> >
> > _______________________________________________
> > To control your jdom-interest membership:
> > http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com
> >
> 
> --
> Bob McWhirter        bob at werken.com
> The Werken Company   http://werken.com/
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com




More information about the jdom-interest mailing list