[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Saxon command-line: How to assign a sequence of multip
Running Saxon from the command line (testing with Saxon-HE 9.2.1.2Jbyes, old as heckbon Bash 3.2.57(1)), is there a way to set the value of a global parameter of an XSLT2 stylesheet to a sequence of strings? <xsl:param name="MY_ARRAY" as="xs:string*"/> When attempting to do it like this: java -jar saxon9he.jar [options] 'MY_ARRAY="one" "two" "three"' java -jar saxon9he.jar [options] MY_ARRAY='"one" "two" "three"' Saxon seemingly interprets spaces as literal, and the value of the parameter becomes one single string <xsl:message select="count($MY_ARRAY)"/> b 1 instead of interpreting them as separators so that the value of the parameter contains those three.
|
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
|