Subject: Re: Not So Newbie XPath Question
From: Bernard Harrison <b_harrison@xxxxxxxxxxxxx>
Date: Tue, 20 Feb 2001 10:40:39 +1100
|
Michael Kay wrote:
>
> > >
> > > <xsl:template match="a[not(following-sibling::a)]" >
> >
> > Mmm. Does using following-sibling work given Jeni Tennison's Post?
> >
> You can use any XPath expression in the predicate of a match pattern,
> provided it doesn't contain variable references and doesn't use the
> current() function. The restriction on which axes are allowed applies only
> outside the square brackets.
Thanks everyone for their responses. :)
It has been an education. Could anyone suggest a site
that explains some of these knotty XPath issues or
recommend a good book?
Bern
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|