This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XPath for number of preceding nodes sharing an ancestor


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]