This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Not So Newbie XPath Question
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Not So Newbie XPath Question
- From: Bernard Harrison <b_harrison at primus dot com dot au>
- Date: Tue, 20 Feb 2001 10:40:39 +1100
- References: <000901c09ac4$d5b5c1a0$e9453c3e@oemcomputer>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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