XPath Property
Provides a way to point to a specific element in the document.
Object Oriented Interface
public function getXPath(); public function setXPath($value);
Procedural Interface
inamazon_paapi_get($res, 53 ); inamazon_paapi_set($res, 53, $value );
Default Value
''
Remarks
XPath implements a subset of the XML XPath specification, allowing you to point to specific elements in the XML documents.
The path is a series of one or more element accessors separated by '/'. The path can be absolute (starting with '/') or relative to the current XPath location.
The following are possible values for an element accessor:
'name' | A particular element name. |
[i] | The i-th subelement of the current element. |
.. | the parent of the current element. |
Document root XMLpControl.XPath = "/" Specific Element XMLpControl.XPath = "/root/SubElement1/SubElement2/" i-th Child XMLpControl.XPath = "/root/[i]"
Data Type
String