Hi!
I've a problem with an XPath expression which I can't understand.
This the document:

<?xml version="1.0" encoding="ISO-8859-1"?>
<doc>
        <chapter>
                <elem>1</elem>
        </chapter>
        <chapter>
                <elem/>
        </chapter>
</doc>

The following XPath expression selects all the chapter elements:

/doc/chapter[elem=1]

I think that the second chapter element should not be selectd.
What happens?

________________________________________________

dott. Claudio TASSO      mail: [EMAIL PROTECTED]
Sviluppatore WEB         tel:   +39 051 6111458

KION Srl                        web: www.kion.it           
Via Cristoni, 86                tel:   +39 051 6111411
40033 Casalecchio di Reno (BO)  fax:  +39 051 570423
ITALIA
________________________________________________
 

Reply via email to