cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

The Xpath stuff

pzorrilla
1-Visitor

The Xpath stuff

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 7
lfraley
12-Amethyst
(To:pzorrilla)

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 -----

Paulette:

This is one of the best reference books on XSLT and XPath:

I would highly recommend going here and joining the XSL forum once you're familiar with XPath/XSLT:

XSL-List info and archive:

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.

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.


Announcements

Top Tags