alfredoskunk
New Member
Okay, I have a file named "temp.xml" with about 100 entries. Here's an example of a subentry..\[code\]<title>© 2008 Some Company</title>\[/code\]Now, I want to get the EXACT contents within the "title" but by doing...\[code\]$doc = new DOMDocument();$doc->load('temp.xml');foreach ($doc->getElementsByTagName('entry') as $node) {echo $node->getElementsByTagName('title')->item(0)->nodeValue;}\[/code\]I get...\[quote\]\[code\]?? 2008 Some Company\[/code\]\[/quote\]And I want...\[quote\]\[code\]© 2008 Some Company\[/code\]\[/quote\]Php is converting the ASCII characters and I want to have them intact. I'm googling this for more than two hours now to no avail...