[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to pass an XPath as a param and evaluate it?
Hi Rich,
From the Saxon documentation: http://www.saxonica.com/documentation/using-xsl/commandline.xml java -jar/dir//saxon9he.jar [options] [params] A/param/preceded by a leading plus sign (+) is interpreted as a filename or directory. The content of the file is parsed as XML, and the resulting document node is passed to the stylesheet as the value of the parameter. If the parameter value is a directory, then all the immediately contained files are parsed as XML, and the resulting sequence of document nodes is passed as the value of the parameter. For example,|+lookup=lookup.xml|sets the value of the stylesheet parameter|lookup|to the document node at the root of the tree representing the parsed contents of the file|lookup.xml|. So you would need a file to pass the the complex content, anything that is not a text value. Best, Hank On 06/28/2011 04:13 PM, Richard Fozzard wrote: Fellow XSLers, -- Louis (Hank) Ratzesberger sopac.ucsd.edu
|
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
|