Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Xpath search in a XML data in Tree structure

    Hi Team,

    I have a XML data being showed as a Tree structure in my UI.
    Now, I would like to do a Xpath search like below for example,

    <A>
    <A1>
    <Name>abc</Name>
    <ID>123</ID>
    <company>XXX</company>
    </A1>
    <A2>
    <Name>bcd</Name>
    <ID>121</ID>
    <company>XXX</company>
    </A2>
    </A>

    How to make a search with Xpath like -> A/A1/Name[2]
    This should result me the value bcd.

    Can you please guide me with this?

    Thanks,
    Manjula

    #2
    We support dataSourceField.valueXPath and XMLTools.selectNodes(), or there are also 3rd party libraries like jaxen4gwt or Generative XPath (we have not tried either of these).

    Comment

    Working...
    X