Subject: Re: [xsl] Filtering, xslt 2.0 From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 1 Nov 2022 09:01:13 -0000 |
Thanks Martin. Nearly thereI don't see how you would get that message by a plain parameter
<xsl:param name="types" as="xs:string"/>If you declare the type as a single string item, then it doesn't make sense to attempt to use the "?param-name" syntax further below to pass in an XPath expression evaluating to a sequence of strings.
as="xs:string"
and
types=A,B
and
test="type = tokenize($types, ',')"Produces an earlier message (a weak one from Saxon!) No line number, just 'The context item is absent'
Closer...
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Filtering, xslt 2.0, Dave Pawson dave.paw | Thread | Re: [xsl] Filtering, xslt 2.0, Dave Pawson dave.paw |
Re: [xsl] Filtering, xslt 2.0, Dave Pawson dave.paw | Date | Re: [xsl] Filtering, xslt 2.0, Dave Pawson dave.paw |
Month |