[jdom-interest] JDOM to XSLT

Brett McLaughlin brett.mclaughlin at lutris.com
Wed Aug 23 20:04:59 PDT 2000


Itai Erner wrote:
> 
> Hi,
> How do I pass the JDOM document to the XSLT processor ? I tried using Piped
> streams but im probably doing something wrong ...
> 
> XMLOutputter out        = new XMLOutputter();
> PipedOutputStream os = new PipedOutputStream();
> PipedInputStream  is    = new PipedInputStream( os );
> out.output( doc, os );
> 
> processor.process( new XSLTInputSource( is ),
>         new XSLTInputSource("test.xsl"),
>         new XSLTResultTarget(System.out));
> 
> thanks - and sorry if this question has been asken before.

Check the FAQ - it's in there.

-Brett

> 
> ============================
> 
>          Valis - The Cellular Cult
> 
> ============================
> 
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

-- 
Brett McLaughlin, Enhydra Strategist
Lutris Technologies, Inc. 
1200 Pacific Avenue, Suite 300 
Santa Cruz, CA 95060 USA 
http://www.lutris.com
http://www.enhydra.org



More information about the jdom-interest mailing list