You are here

public function MigrateXMLFieldMapping::xpath in Migrate 6.2

Same name and namespace in other branches
  1. 7.2 plugins/sources/xml.inc \MigrateXMLFieldMapping::xpath()

Add an xpath to this field mapping

Parameters

string $xpath:

File

plugins/sources/xml.inc, line 204
Support for migration from XML sources.

Class

MigrateXMLFieldMapping
Adds xpath info to field mappings for XML sources

Code

public function xpath($xpath) {
  $this->xpath = $xpath;
  return $this;
}