Re: SimpleXML or DOMDocument help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Alaimo wrote:
> Hello All,
> 
> I have an XML document that has elements as such:
>         <Query:Expression>
>           <Query:ResourceID>
>             <Query:Equal>Test/Query:Equal>
>           </Query:ResourceID>
>         </Query:Expression>
> 
> 
> I cannot figure out how to access these with simple xml.  I am not opposed
> to a DOMDocument solution either.
> 
> Would anyone know what to do in this case?  I think the problem is the :.
> 
> Regards,
> 
> Mike
> 
> 
> 
> 
> *************************************
> Michael Alaimo
> ADNET Systems, Inc.
> Web Developer
> Work: 301-286-5569
> Cell: 571-332-9210
> *************************************
> 
> 

What's the entire XML document?  You need a xmlns declaration as Query
is a namespace.

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux