I'm applying an XPath expression to a NodeList by iterating over my input
NodeList and using the XPathAPI.eval(Node, String, Node) method in Xalan-J
2.2_D14. I'm using a location path expression that preserves namespace
nodes, but the results do not seem to preserve _inherited_ namespace nodes.
That is to say: if the input NodeList contains every node in the document
and the result NodeLists contains every node in a subtree of the document,
the namespace nodes that the subtree inherits from the root element of the
document are omitted. Does anyone know how to avoid this outcome?
Thanks,
Ari Kermaier