Subject: Re: [xsl] Each value in an XPath array is a sequence of elements... how to access a particular element in a particular array value? From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 6 Jun 2019 15:18:19 -0000 |
Hi Michael,eq 'Foo']"/>
That XPath expression yields the empty set.
I created these variables:
<xsl:variable name="first-group" select="$groups[1]" /> <xsl:variable name="Foo-row-first-group" select="($first-group?*)/row[Data
I typed the variables as array(element(row))* that is, a sequence of arrays of "row" elements. So don't use the /row step, the array directly contains row elements with "Data" child elements: $first-group?*[Data = 'Foo']
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Each value in an XPath ar, Costello, Roger L. c | Thread | Re: [xsl] Each value in an XPath ar, Michael Kay mike@xxx |
Re: [xsl] Each value in an XPath ar, Costello, Roger L. c | Date | Re: [xsl] Each value in an XPath ar, Michael Kay mike@xxx |
Month |