Are Processing Instructions exposed in the AOM API?
Last Updated: 2006-06-18
Question by Keith Berard
I was wondering if anyone has been able to retrieve PI's from the DOM tree using the API?
Recursively calling a method that pulls out all child nodes, then checks for:
curNode.NodeType == Epic.tagDOMNodeType.NODE_PROCESSING_INSTRUCTION
Does not seem to expose any PIs. Doing the same thing in MSXML, however, seems to work fine. Is Epic suppressing these, or am I going about this the wrong way?
My document has (at least) one PI as the first child of each element in my document.