XPath explained - Westhoffswelt - Welcome to the real world

XPath explained

Tobias and me had to write an article about XPath for university lately. We decided to publish it, because it provides a nice introduction to XPath. It covers the basics as well as its more complex features like axes and functions.

It contains a lot of different examples and should provide you with an easy start into the world of XPath and xml.

Toby published the article on his website. Just go ahead and read it t it over there.

Update: I added a pdf version of this article for download.

Trackbacks

  • XPath on Wed, 11 Feb 2009 15:11:20 +0100 in schlitt.info - php, photography and private stuff

    Last year, Jakob and me had to write an elaboration about XPath. This one should enable the members of out university project group to get into the general XML topic and to use XPath and related technologies during the project. This document is the result of our work and represents a comprehensive tutorial on XPath.XPath is the standard language for addressing parts of XML documents. This document gives a comprehensive introduction into and an overview on XPath. Starting with the XML tree model, different ways of addressing are explained. A dedicated chapter describes the possible addressing axis, their meaning and usage. A rough overview on important XPath functions and how to use functions in XPath in general is given. The last chapter concludes with a practical use case of XPath in XSLT.

Comments

  • Les on Thu, 12 Feb 2009 21:00:44 +0100

    I know XML inside out and a good bit about XSL-T but have never got around to using XPath even though I have enough documentation on it.

    Your PDF can only help but I tend to find it difficult to decide when to use it and how it can be used in the first place?

    Another article giving use cases would help a great deal more (hint.. hint..)

    Thanks :)

Add new comment

Fields with bold names are mandatory.