View Single Post
Old 11-01-2009, 01:39 PM   #1 (permalink)
nuweb
The Wanderer
 
nuweb's Avatar
 
Join Date: Nov 2008
Location: Yorkshire, England
Posts: 8
Thanks: 1
nuweb is on a distinguished road
Default 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
nuweb is offline  
Reply With Quote