I am trying to process a xml document coming in from TN and am getting the error attatched to this post on a getNextXMLNode invoke step (stacktrace.txt). What I am trying to do is extract all of the attributes and their values and create a whole new XML file from that.
Basically the incoming document is extremely generic and the real elements and their data/etc. are actually the attributes. My processing sequence is as follows: Convert using BizDocToRecord, Convert Bound Node to an XML string using documentToXMLString, and then converting the string to a node using XMLStringToXMLNode.
After this I am trying to loop through the nodes and strip out the attributes and their values, however, something is getting choked on the DBE namespace and I am not sure how to remedy it. I tried adding namspace mappings in the Namespace Tab of the Document Type definition dialog, but this didn’t work either.
So my question is really two:
- What is causing the error below and how do I fix it?
- Am I approaching this correctly with the steps I outlined above?
See the snippets file for an example of what I am trying to explain.
Thanks in advance!
stacktrace.txt (3.2 k)
snippets.txt (0.6 k)