New utiltiy find_or_make_node() finds a node within an XPathContext,
authorMike Taylor <mike@indexdata.com>
Mon, 13 Nov 2006 18:03:34 +0000 (18:03 +0000)
committerMike Taylor <mike@indexdata.com>
Mon, 13 Nov 2006 18:03:34 +0000 (18:03 +0000)
commitebb088b4329aea6136f49ee5535f1e77544a4c68
treea9c9620de115fe287d1ac333383e39b6a6e920f9
parentf2800cd5fae04db7045b21459ed206c960de4230
New utiltiy find_or_make_node() finds a node within an XPathContext,
or, if it doesn't yet exist, makes it within its parent and returns
it.  This calls itself recursively as necessary to make the parent,
grandparent, etc., but catches deep recursion and dies (currently
defined as ten levels which seems like plenty).

dom_add_element() now uses this.
lib/ZOOM/IRSpy/Utils.pm