Hi Team,
I have created a variable using xquery but in cockpit it is coming up as null value even though i have verified that the query gives a value but not null. Below is the xquery
declare variable $validateEquipmentResponse external;
let $validateEquipmentResponse := fn:parse-xml($validateEquipmentResponse)
let $CTSCommonId := $validateEquipmentResponse/cis-resource-inventory:equipment/ns:attributes/ns:attribute[@name=‘CTS COMMON ID’]/@value
return data($CTSCommonId)
true HNVKAL81SS7 MUX SHELF Active ALHNVI-MARTIN ROAD HSN8500NA FUJITSU HNVKAL81SS7
The variable CTSCommonId is giving as Empty String.
Can anybody please help me, Thanks
Regards,
Dhanabati