Re: XML transformation based on parameters
2009/4/16 David Carlisle <davidc@xxxxxxxxx>: > > >> select="xalan:nodeset($params)/ > > why do you need an extension function here? xx:node-set() is for Hi David, I was searching for a trick to accept an external parameter when an XML is passed. Using: $params/query-params/param/@name it fails with the same exception: java.lang.RuntimeException: Invalid conversion from node-set' a 'org.apache.xmlbeans.impl.store.Xobj$DocumentXobj. Instead, using: document($params)/query-params/param/@name" (as you suggestes) it returns a different error: com.sun.org.apache.xml.internal.utils.URI$MalformedURIException: Path contains invalid character < I think that "<" is the begin of xml file I passed. So, my question is: is there a way to encode this xml file in some way and see it as a normal xpath variable? Michael, yes, I will write to a xalan ml as well! Thanks e.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format