Hi All:
I am running into a problem with an XML query 
using Jaxen.
I have a following XML file :

<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
    <hostname>
        <val>2</val>
        <attrlist>
            <hostname>CE-A</hostname>
        </attrlist>
    </hostname>
    <hostname>
        <val>1</val>
        <attrlist>
            <hostname>CE-B</hostname>
        </attrlist>
    </hostname>
</Configuration>

And I am trying to evaluvate following XPath expression :

/Configuration/hostname/attrlist/hostname[. = 'CE-A']/../../val

which runs fine in XML Spy but does not return any value when I use
Jaxen.
Any help will be appreciated.
-vibhu


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jaxen-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxen-interest

Reply via email to