I tried ../preceding-sibling/SubDiv1 = SubDiv1,
but the first part of the expression does not work. What have
I misunderstood?
You don't have any elements named preceding-sibling.
You meant preceding-sibling::*, that is, elements of any name on the
preceding-sibling axis.
If only people would write schema-aware code, such errors would be caught so
much more easily!
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--