Error: selected a node which is not valid for property or distinguished field retrieval, or it selected no node at all. Only text-only elements or attributes may be selected.
Error:
selected a node which is not valid for property or distinguished field retrieval, or it selected no node at all. Only text-only elements or attributes may be selected.
Root Cause:
I was trying to assign a value to a node which was not present in the input XML
Solution
First create the node in a map and then try to assign a value to the node,
Comments
Post a Comment