File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA/OCP Java SE 7 Programmer I & II Study Guide
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
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
Instant Saxon (IE and text file)
XML-Based, Document Style JAX-WS Web Service Example giving error
open source XQJ
Is XPath 2.0 part of the Java SDK
How to go for XPATH 2.0
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014