Subject: Re: [xsl] XPath for expressing contiguous elements? From: "Imsieke, Gerrit, le-tex gerrit.imsieke@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 1 May 2017 13:19:44 -0000 |
But if what you really want is a simple Schematron test, then
| <sch:rule context="A"> | <sch:report test="following-sibling::B[following-sibling::A]">oops</sch:report> | </sch:rule>
has the advantage of simplicity, but the disadvantage that it will fire multiple times (twice for your example) rather than just once. You can reduce the number of times that it fires with
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XPath for expressing cont, Syd Bauman s.bauman@ | Thread | Re: [xsl] XPath for expressing cont, Graydon graydon@xxxx |
Re: [xsl] XPath for expressing cont, Syd Bauman s.bauman@ | Date | Re: [xsl] XPath for expressing cont, Graydon graydon@xxxx |
Month |