[jdom-interest] JDOM XSLT with parameters?

Michael Kay mike at saxonica.com
Tue Jan 18 04:12:16 PST 2005

If you use Saxon as your XSLT processor, you can use all the facilities in
the JAXP transformation API. Just wrap the JDOM Document node in a Saxon
net.sf.saxon.jdom.NodeWrapper, and supply the NodeWrapper as the "source"
parameter to the JAXP transformer.transform() method. You can set
transformation parameters in the normal way using transform.setParameter().

Michael Kay

> -----Original Message-----
> From: jdom-interest-bounces at jdom.org 
> [mailto:jdom-interest-bounces at jdom.org] On Behalf Of KwonNam Son
> Sent: 18 January 2005 10:20
> To: JDOM Interest Mailing List
> Subject: [jdom-interest] JDOM XSLT with parameters?
> Hi~
> I usually use JDOM for XML Processing.
> But, when I tried transforming XSL, I could not find the way to pass
> parameters to XSLT Processor.
> "parameters" which are defined in XSL document.
> ( <xsl:param name="blah.."/> )
> Is it possible to use JDOM XSL Transform with parameters?
> Thanks,
> KwonNam.
> _______________________________________________
> 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