Introduction

Last updated on
30 April 2025

You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules

Feeds XPath Parser implements XPath 1.0 in Feeds, allowing the selection of nodes from an XML document. The XPath language is based on a tree representation of the XML document, and provides the ability to navigate around the tree, selecting nodes by a variety of criteria. In addition, XPath may be used to compute values (strings, numbers, or boolean values) from the content of an XML document.

XPath example

To begin learning XPath, start with this fine XPath Tutorial, and refer to the XPath Syntax Reference.

For more general information on XPath, refer to the Wikipedia XPath page or the detailed W3C spec.

It should also be mentioned that if you want to import different "projects" to different nodes from the example above - you should set "Context" from "XPath Parser Settings" to "/wikimedia/projects/project". And then add something like "editions/*[2]" for the second value of the "edition" field.

Help improve this page

Page status: Not set

You can: