| Convert a Hashtable into a Node tree.
The hash may have either Hashtables as values (in which
case we recurse) or other values, in which case we print them
as <item> elements, with a 'key' attribute with the value
of the key, and the element contents as the value.
If args are null we simply return without doing anything.
If we encounter an error, we will attempt to add an 'ERROR'
Element with exception info; if that doesn't work we simply
return without doing anything else byt printStackTrace().
Parameters: hash - to get info from (may have sub-hashtables) Parameters: name - to use as parent element for appended nodefuturework could have namespace and prefix as well Parameters: container - Node to append our report to Parameters: factory - Document providing createElement, etc. services |