11-01-2009, 01:39 PM
|
#1 (permalink)
|
|
The Wanderer
Join Date: Nov 2008
Location: Yorkshire, England
Posts: 8
Thanks: 1
|
Get PHP Dom value, when creating XML
Hello All,
I have created a little API that allows me to design a mysql query and it builds an XML document for me, useing PHP dom.
It works well, except I need to get the Value of an element created by the dom. ( so another query can be made, from its value).
Here is the END xml document.
I need to get the value of xmlz->category->cat_id so that I use it for the query to get each xmlz->items.
I keep reading dom manual, but everything I try has no success yet.
Thanks in advance.
__________________
NuWeb
|
|
|
|