Nathan Rixham wrote: > but assuming the above file is: > <?xml version="1.0" ?> > <chapter xmlns:xi="http://www.w3.org/2001/XInclude"> > <a /> > </chapter> > > how would one retrieve xmlns:xi="http://www.w3.org/2001/XInclude" When you say 'retrieve', what do you really mean? You need to get the namespace value into a PHP variable? I would probably look at the namespace-uri() function in XSLT, but I don't know if you're using XSLT? /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php