in reply to XPath search qn

//file[userprop[nameprop='Version']/valueprop=2]
Which means: Or, put more clearly, you can nest node-tests (the things inside the brackets)
-- 
        dakkar - Mobilis in mobile

Most of my code is tested...

Perl is strongly typed, it just has very few types (Dan)

Replies are listed 'Best First'.
Re: Re: XPath search qn
by pizza_milkshake (Monk) on May 05, 2004 at 14:16 UTC
    ah, i'd been looking for the ability to perform more than one test at the same level and not finding it. i will update my code. thanks!

    perl -e"\$_=qq/nwdd\x7F^n\x7Flm{{llql0}qs\x14/;s/./chr(ord$&^30)/ge;print"