Skip to main content
1-Visitor
August 28, 2013
Question

The Xpath stuff

  • August 28, 2013
  • 7 replies
  • 1492 views
Hello everybody!! 😃

Ok, so I've been finding too many discussions talking about XPath and I
feel pretty bad because I can not have a clear idea of what XPath is? 😞
I investigated in the Arbortext Command Language Reference but I only
found examples and I would like to understand how and where is
recommended to use XPath, please if anybody is kind of expert in this
area I would really appreciate a lot your help! I'm feel in the
necessity to learn about XPath but I don't have any idea from where I
can start. Please any help would be greatly appreciated.

As always I have not words to thank you all your time and support. Best
Regards!

Paulette Zorrilla.

    7 replies

    1-Visitor
    August 28, 2013
    16-Pearl
    August 28, 2013
    If you don't want to write heaps of code to navigate and find content in an XML document then use xpath.

    Eg. Gather list of all images in a document:

    //img

    Find a certain image in sections only:

    //section//img[@src = "filename.jpg"]

    -Gareth


    ----- Reply message -----
    1-Visitor
    August 28, 2013
    Paulette:

    This is one of the best reference books on XSLT and XPath:
    1-Visitor
    August 28, 2013
    I would highly recommend going here and joining the XSL forum once you're familiar with XPath/XSLT:

    XSL-List info and archive:
    pzorrilla1-VisitorAuthor
    1-Visitor
    August 28, 2013

    Wooow!! Thank you very much for your help and recommendations! I really appreciatte it! I'm gonna visit some links you sent me and also, try to get some of the recommended books.

    pzorrilla1-VisitorAuthor
    1-Visitor
    August 28, 2013

    Gareth your response is more than clear, now I have a clearer idea of the XPath functionality, mainly at the time that I'm implementing certain functions with ACL in Arbortext. As always your help is more than useful. Thank you so much!


    Regards.