I have one message flow with incoming XML like this.
<employee id="100">
.........
</employee>
iam trying to get the value of attribute with the follwing esql statements.
Code:
set id=InputRoot.XML.employee.(XML.Attribute)id;
Set "OutputRoot"."XML"."EmpData"=InputRoot.XML.employee.(XML.Attribute)id;
In case of first statement variable Id contains the value of attribute correctly.
In case of sencond statement Message is generated withour any value means EmpData is empty, but when i use the following statement XML is generated.
Code:
Set "OutputRoot"."XML"."EmpData"=FIELDVALUE(InputRoot.XML.employee.(XML.Attribute)id;
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum