[jdom-interest] JDOM XSLT with parameters?
elharo at metalab.unc.edu
Tue Jan 18 04:11:03 PST 2005
KwonNam Son wrote:
> 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?
Not with XSLTransform. However if you use JDOMSource and JDOMResult with
the standard TrAX classes, then the javax.xml.transform.Transformer
class has methods to set parameters.
Elliotte Rusty Harold elharo at metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
More information about the jdom-interest