xsl-list
[Top] [All Lists]

query

2003-03-07 08:07:34

I'm looking for an xpath query to get me the template node with the largest
version number from the largest subset of templates with the same id.

The XML looks like:

<Template id="1" version="0"/>
<Template id="2" version="0"/>
<Template id="3" version="0"/>
<Template id="2" version="1"/>

In the above XML, the answer to my query would be <Template id="2"
version="1"/>

Any help is appreciated.

Thanks,
Derrick




This electronic transmission is strictly confidential to Smith & Nephew and
intended solely for the addressee.  It may contain information which is
covered by legal, professional or other privilege.  If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy or take any action in reliance on this
transmission.  If you have received this transmission in error, please
notify the sender as soon as possible and destroy this message.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>