Subject: Re: [xsl] with XPath 1.0, select all following sibling elements of name "foo" up to the first non-"foo" element From: "Wolfhart Totschnig wolfhart.totschnig@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Thu, 18 Feb 2021 03:59:19 -0000 |
On Thu, 2021-02-18 at 01:33 +0000, Wolfhart Totschnig wolfhart.totschnig@xxxxxxxxxxx wrote:Dear list,So, given that this is XSLT 1,
I want to select all following sibling elements of name "foo" up to the first non-"foo" element.
following-sibling::*[(name() = 'foo') and ( count(preceding-sibling::*[ not(name() = 'foo') ]) = count(current()/preceding-sibling::*[ not(name() = 'foo') ]) ]
maybe?
Liam
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] with XPath 1.0, select al, Liam R. E. Quin liam | Thread | Re: [xsl] with XPath 1.0, select al, Liam R. E. Quin liam |
Re: [xsl] with XPath 1.0, select al, Wolfhart Totschnig w | Date | Re: [xsl] with XPath 1.0, select al, Liam R. E. Quin liam |
Month |