0 Replies Latest reply: Mar 18, 2013 10:37 AM by 912973 RSS

    xpath expression to get depth child element

    912973
      Hi
      I wanted to find the depth element (sub isuer) in the hierarchy of 93699V issuer through xpath expression .



      <?xml version="1.0" encoding="UTF-8"?>
      <issuer id="93699V">/>
      <subissuer id="06U99A">
      <subissuer id="52729N">
      <subissuer id="37932J">
      <subissuer id="322995"/>
      <subissuer id="35906P">
      <subissuer id="001575"/> //child of issuer 93699V. since no further child
      <subscriber id="771758"/> //child of issuer 93699V.since no further child
      </subissuer>//end of 37932J
      </subissuer>//end of 52729N
      </subissuer> //end of 06U99A
      </subissuer>
      <subissuer id="06099K">
      <subissuer id="06N99R"/>//child of issuer 93699V.since no further child
      </subissuer>
      <subissuer id="715680"/> ////child of issuer 93699V.since no further child
      </issuer>




      what is the xpath expression to find the depth child of 93699V.i .e o/p is as follows.Since now we have four depth element.
      001575
      771758
      06N99R
      715680


      Please let me know the xpath expression to get depth sub issuer