You can get the Attribute(qualifier) value by 'InputRoot.XXX.Qualifier.(XML.Attribute)qualifier'
Based on the qualifier you can implement your logic.
For example if you need to output for all <Quantity> fields with same attribute (qualifier) you can code like this :
SET OutputRoot.XMLNS.Data.Output[] =
(SELECT R.Quantity.* AS Quantity.(XML.Attribute)Quantity,
R.Value AS Quantity.Value
FROM InputRoot.XMLNS.*****.Quantity AS R
WHERE R.(XML.Attribute) = 'ITEM1'
);
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