OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   XPath expression

[ Lists Home | Date Index | Thread Index ]


I want to make a XPath expression that finds the 5 first nodes that have a 
attribute "namn" thats equals "Tomas". Is it possible?

I suppose it should be something like this:
//[@namn="Tomas"] [position()<6]

I want to look search all the nodes in the document. Children, 
grandchildren etc

/Tomas Olsson


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS