[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Filtering, xslt 2.0

Subject: Re: Filtering, xslt 2.0
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Oct 2022 18:24:22 -0000
Re:  Filtering
On 10/31/2022 6:27 PM, Dave Pawson dave.pawson@xxxxxxxxx wrote:
On Mon, 31 Oct 2022 at 16:56, Martin Honnen martin.honnen@xxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:


On the command line, you prefix the parameter name with a question mark
to indicate you provide an XPath expression on the right side of the "=".
[A reason I dislike 3.0]


While I can't tell for sure that the "?param-name=expression" feature
works for sure with one of the older Saxon versions that only implement
XSLT/XPath 2.0 (i.e. 9.7 and earlier) I don't think it is in any way
related to the XPath version 3, just an additional level of
customization of the user interface of the Saxon command line the
Saxonica guys introduced some time in the past. So not sure why
mentioning that feature is related to your dislike of XSLT or XPath 3.0.



I have tried now with Bash, you need an additional double quote wrapper
e.g.

?membership="'a','b','c'"



then you have $membership in XSLT/XPath 2 and later as a sequence of three strings (e.g. a, b, c)
Thanks Martin, I'll play with that tonight.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.