Christian, DocumentHelper.makeElement(Branch start, String xpath) appears to do what you need.
John.
Christian Niles wrote:
I'm having a bit of difficulty remembering where I saw a function that would create nodes based on an XPath. For example, if I had an input path of '/html:html/html:head/html:title', I would want to select the title element, or create it if it doesn't exist.
Is there actually such a method or have I just confused myself?
thanks, christian.
------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user
------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user