I have searched high and low and can’t find a good method of looping through a document retrieving the string names and values.
For example, I have the following XML that is converted into a document:
<STATUS_MSG>
ASSET NOT ON FILE
INVALID ACCOUNT
INVALID ASSET TYPE
CANNOT BE RELEASED
ORDER NOT ACCEPTED
</STATUS_MSG>
The result of converting this to a document is a document named STATUS_MSG and 3 fields named SMO008, SMO009, SMO020 and a string list named ALERT.
There are over 20 fields and instead of coding for each specific field I would rather repeat through the document getting each string name and value. For example, on the first iteration I would retrieve the string name SMO008 and the value ASSET NOT ON FILE.
Does anybody have a solution or suggestion?
Thanks!
#Integration-Server-and-ESB#webMethods#webMethods-General