Hi,
I try to recover information in my XML message to populate an another tag in the Output message.the structure is like this :
<Root><Header><Parameter name="n1" actor="a1">param1</Parameter>.....</Header>.... </Root>
I try to use in a compute node this kind of method :
set OutputRoot.XML.Root.Header.Test[1].(Xml.attr)value =
the (select item Parameter from InputRoot.XML.Root.Header.Parameter[] where Parameter.(xml.attr)name='a1') (i want this result in my attribute => param1)
It doesn't work when i revover it in an attribute. (If i copy it in an element, it copies all attributes and the value).
Is it a correct syntax to do thisor is it a problem with attributes in a compute node.
When using attibutes in a SELECT or as a reference for a SET they are treated as normal tags. (XML.Attr) only needs to be used when creating a new attribute in an existing tree.
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