[jdom-interest] JDOM XSLT with parameters?
Elliotte Harold
elharo at metalab.unc.edu
Tue Jan 18 04:11:03 PST 2005
KwonNam Son wrote:
> 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?
>
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!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
More information about the jdom-interest
mailing list