I have this code\[code\]$XMLTranslationObject = new DOMDocument();$XMLTranslationObject->load("../xdata/xml/translation/en-US/profile.xml");$Xpath = new DOMXpath($XMLTranslationObject);$Result = $Xpath->evaluate("Field[@Name = 'AttachedFiles']")->nodeValue;echo $Result;\[/code\]and the xml\[code\]<?xml version="1.0" encoding="ISO-8859-1"?><Translation language="en-US"> <!-- Basic Begin --> <Field Name="SiteName">Brainfavor</Field> <Field Name="Error">Error</Field> <!-- Basic End --> <!-- Header Begin --> <Field Name="Name">Name</Field> <Field Name="WorkingAt">Working at</Field> <Field Name="Phone">Phone</Field>\[/code\]witch gives me the following errorNotice: Undefined property: DOMNodeList::$nodeValue in C:\xampp\htdocs\brainbook\profile\loadmore.php on line 30All i want is to retrieve the value of a row where field name is \[code\]AttachedFiles\[/code\] , just run a simple Xpath query and retrieve the result. Using XSLT it is easy\[code\]<xsl:value-of select="$TranslationProfile/Field[@Name = 'AttachedFiles']"/>\[/code\]but i didn't used PHP Xpath before.