Alle 20:01, giovedì 15 dicembre 2005, Evan Kirkconnell ha scritto:
> Sorry, I don't mean to spam the list, but does anyone know why the
> doctype would cause the "/html/body" and "/html/head" XPATH expressions
> to break?
> They both work without the doctype.

I think it's because you must have a root element that is unique. 
With doctype you have two roots.

Try with an xpath processor, like a plugin in eclipse, to see if your path 
works.
-- 
Alessandro Ronchi,
che ha cambiato dominio, aggiorna i tuoi link a 
http://www.alessandroronchi.net !
http://www.soasi.com  SOASI - Sviluppo Software e Sistemi Open Source


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to