Forum Discussion
MOTOROLA_Suppor_1
15 years agoContributor
I got the correct XQeury syntax to make it work. I am all set. thanks
sheena
declare namespace ns2='http://asp.motorola.com/nbs/config/v1-0';
<Result>
{
for $z in //ns2:getPotsChannelsResponse/attrContainerList/strAttribute
where $z/name = "ADMINSTATUS" or $z/name = "SIGNALCODE"
order by $z/name
return <value>{$z/value/text()}</value>
}
</Result>
sheena
declare namespace ns2='http://asp.motorola.com/nbs/config/v1-0';
<Result>
{
for $z in //ns2:getPotsChannelsResponse/attrContainerList/strAttribute
where $z/name = "ADMINSTATUS" or $z/name = "SIGNALCODE"
order by $z/name
return <value>{$z/value/text()}</value>
}
</Result>