A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
XML and Related Technologies
Using Saxon implementation for XSLT
Joined: Jul 19, 2009
Mar 28, 2011 23:03:31
How can I use
parameters in the saxon method
net.sf.saxon.s9api.XsltTransformer transformer.setParameter(Qname name ,XdmValue value).
instead of the Qname and XdmValue objects?
Joined: Oct 14, 2005
Mar 29, 2011 09:30:59
In Java you can't use parameters of any type other than the type required by the method. This is just a basic rule of Java.
So you're going to have to create a
object for the first parameter and an XdmValue object for the second parameter.
It is sorta covered in the
JavaRanch Style Guide
subject: Using Saxon implementation for XSLT
open source XQJ
Instant Saxon (IE and text file)
How to go for XPATH 2.0
Is XPath 2.0 part of the Java SDK
XML-Based, Document Style JAX-WS Web Service Example giving error
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014