Subject: Re: [xsl] Not So Newbie XPath Question From: Bernard Harrison <b_harrison@xxxxxxxxxxxxx> Date: Tue, 20 Feb 2001 01:46:14 +1100 |
Thankyou Jeni, yes this does help! Jeni Tennison wrote: > z/a/following-sibling::*[1][not(self::a)] The above looks the best. Seems the most self describing to me. > > This will only work in a select expression because match patterns > don't allow following-sibling:: axes. For a match pattern, you need > something like you have already or one of its equivalents, like: Is it only the following-sibling:: that does not work in a match or does any "forward" axes like following:: not work as well? I have been using my existing version with MSXML's IXMLDOMElement.selectSingleNode method? > z/*[preceding-sibling::a and not(self::a)][1] > > or: > > z/*[not(self::a)][preceding-sibling::*[1][self::a]] XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Not So Newbie XPath Quest, Jeni Tennison | Thread | Re: [xsl] Not So Newbie XPath Quest, Jeni Tennison |
Re: [xsl] Keyword xsl:number may no, Fr\id\iric SCHWEBEL | Date | Re: [xsl] Not So Newbie XPath Quest, Bernard Harrison |
Month |