I have a XML file stored in postgresql table which contains array attribute type contains values such as
<Type>
      <V Idx="1">Cat</V>
      <V Idx="2">Mouse</V>
      <V Idx="3">Tree</V>
   </Type>
and I would like to extract the Idx value of "Cat" using postgresql query.
 
    