![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Selecting largest attribute >Thread Next - Re: Selecting largest attribute Re: Selecting largest attributeTo: NULL Date: 1/2/2007 10:54:00 AM * rlberrie@h... wrote in microsoft.public.xml: >I would like to extract the largest l[x]cache attribute from the >various properties based on the largest [x] of the attribute name. >Something along the line of "max(substring(@name,2,1))" would be great >-- if such a thing existed. Anyone care to take a stab at this one? Well, if you pick one of the lxcache values you can search for a node where the x is larger than the current largest x. If you continue this you will end up with the largest x and the node it is associated with. It is not possible to do this using only XPath 1.0. -- 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 | |||||
|
