This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Not So Newbie XPath Question
> Mmm. Does using following-sibling work given Jeni Tennison's Post?
you can use any XPath expression inside a [] predicate. The axis
restriction only applies to step construction.
so you can't do
match="a/following-sibling::b]"
but you can do
match="b[preceding-sibling::a]
which matches what was intended, a b with an earlier a sibling.
(However I don't think Dave's stylesheet is doing quite what you asked
for)
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list