That works ! and with the namespace hint I configured Jtidy not to create a valid XML [setXmlOut(true)] instead of XHTML [setXHTML(true)]. Then JTidy doesn't create namespaces and "/html/body/table" works fine, also.
Thank you, Dave ! Marco > You have a default namespace defined in the root. > > > .append("<html xmlns=\"http://www.w3.org/1999/xhtml\">") > > You may want to use the "/*[local-name()='html']/*[local-name()='body']" > to avoid the namespace all together. > > Give that a try. ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user