Jump to content

vishwa.m

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by vishwa.m

  1. Hi,I am very new to this forum. I started learning XPath queries.Can anyone please assist me on how to get elements from an xml which doesn't have a root element. For example:

    The xml:

    <book id="bk101">
    <author>Gambardella, Matthew</author>
    <description>with XML.</description>
    </book>
    <book id="bk201">
    <author>Gambardella, Matthew</author>
    <description>with XML.</description>
    </book>
    <book id="bk301">
    <author>Gambardella, Matthew</author>
    <description>with XML.</description>
    </book>
    Now I want to get a book element where the book id is bk101.
    Thanks in advance,
    Vishwanath

    Thanks,Vishwanath

×
×
  • Create New...