This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XPath for number of preceding nodes sharing an ancestor
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] XPath for number of preceding nodes sharing an ancestor
- From: Michael Strasser <M dot Strasser at myrealbox dot com>
- Date: Wed, 16 May 2001 15:36:56 +1000
- Organization: StrassCom Pty Ltd
- References: <000801c0ddc8$7cbe2e10$6e01a8c0@PCUKMKA>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Michael Kay wrote:
> > In the documents I am using I know that there are no
> > inputform elements
> > inside other inputform elements, so all input elements have only one
> > inputform ancestor. Therefore, for each input node the node-sets
> > ancestor::inputform and current()/ancestor::inputform each
> > contain only one
> > node.
>
> that's OK then. I misremembered your problem.
Actually, I didn't state that part of it explicitly. Thanks for your help
in pointing out my original error: it is very unlikely that two inputform
elements would have the *same* string-values but my test was still wrong.
Thanks again.
--
Michael Strasser
Brisbane, Australia
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list