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
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