A
Andy Fish
hi,
I am trying to select a range of following siblings using xslt 1.0. consider
the following XML file
<top>
<a1/>
<a2/>
<foo/>
<a3/>
<a4/>
<a5/>
<a6/>
<bar/>
<a7/>
<a8/>
</top>
now, inside this template
<xsl:template match="foo">
I would like to select all the nodes up to the following <bar> (if there are
several <bar>s it would be the next one)
it seems quite simple on the face of it but I can't figure out any way to
get close at the moment
TIA
Andy
I am trying to select a range of following siblings using xslt 1.0. consider
the following XML file
<top>
<a1/>
<a2/>
<foo/>
<a3/>
<a4/>
<a5/>
<a6/>
<bar/>
<a7/>
<a8/>
</top>
now, inside this template
<xsl:template match="foo">
I would like to select all the nodes up to the following <bar> (if there are
several <bar>s it would be the next one)
it seems quite simple on the face of it but I can't figure out any way to
get close at the moment
TIA
Andy