So, can anyone tell me why, if I parse a valid, well-formed xhtml
document with the xhtml DTD and try to select any nodes within using the
conventional xpath notation ("/html/body/p") it doesn't work? If I
take the DTD out or if I use the long xpath form ("//*[name()='p']"), it
works. I tried crimson and xerces; both give the same results. Something
to do with the way dom4j parses xpaths? Or the SAXReader makes a
different node hierarchy when there's a DTD?
b
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user