![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - position() question >Thread Next - Re: position() question Re: position() questionTo: NULL Date: 2/2/2007 3:01:00 AM * fj wrote in microsoft.public.xml: >Is there a way to print our the sequence number of a node set by using >position()? I am not sure what you mean by "sequence number". Is that the number of nodes before the current in the document tree? The number of preceding sibling nodes? The number of preceding elements? Generally, count(...) is what you are looking for, for example count(preceding-sibling::*) would evaluate to the number of preceding sibling elements. -- Björn Höhrmann · mailto:bjoern@h... · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
