>            if(getName().equalsIgnoreCase(eltTmp.getName())){
>              i++;

I'd personally just use equals(), since XML tags are case-sensitive.
This could produce bogus paths:

        <a>
                <b/>
                <B/>
        </a>

One is /a/b[1], while the other is /a/B[1].  Neither
is /a/b[2] or /a/B[2].

        -bob


_______________________________________________
dom4j-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dom4j-dev

Reply via email to