Forum Discussion

chowzenwan's avatar
chowzenwan
New Contributor
9 years ago

get value of enc:arraSize from an attribute

Hi 

Im trying to get the value of hotels enc:arraySize, and I do not know how to, could you please help me with this?

 

 

<return xsi:type="enc:Struct">
    <session xsi:type="xsd:string">5762c037bc3a8</session> // To read what is in session on a transfer I do it like this //sesssion
    <hotels enc:itemType="enc:Struct" enc:arraySize="235" xsi:type="enc:Array">
        <item xsi:type="enc:Struct">

 

 

Thanks

  • You want xpath?
    Have you tried some thing like below?
    //*:session/*:hotels/@*:arraySize
  • nmrao's avatar
    nmrao
    Champion Level 3
    You want xpath?
    Have you tried some thing like below?
    //*:session/*:hotels/@*:arraySize