Re: [xsl] XPath for number of preceding nodes sharing an ancestor

Subject: Re: [xsl] XPath for number of preceding nodes sharing an ancestor
From: Michael Strasser <M.Strasser@xxxxxxxxxxxxx>
Date: Wed, 16 May 2001 15:36:56 +1000
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


Current Thread