Thanks David:
That is what I am afraid of. It would be so
easy to set a variable as a switch in the parent but
you can't seem to do that with variables because they
can't be transferred across templates.
In XML processing looking at parents is
common problem. You can do it very easily in DOM,
I just can't figure out how to do it in XSLT.
I am taking Ken's advice and rewriting
the XSLT to use <xsl:for-each> but I am still
having difficulty finding the immediately preceding-sibling.
Now it is always giving a true because there is a qualifying
sibling in the tree.
Thanks again.
Betty
On Mon, 2 Jun 2003, David Carlisle wrote:
I guess there isn't an easy way of looking back at the
parent, then the immediate preceding node without the template
being in the parent node.
../preceding-sibling::b
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list