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/htm
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 h