It seems that lots of DOM stuff was added in 4.2.1! Still I can't seem to see the 
namespace definition attributes of an element. 

The code:
$xmlstr='<?xml version="1.0"?><element xmlns:ns1=""; 

just returns:
<element attr="value"></element>

instead of the full:
<element xmlns:ns1=""; attr="value"></element>

Even trying to get the attributes from <element> with $elem->attributes() returns an 
array that only contains only "attr" but "xmlns:ns1" is nowhere to be seen.

Is there a way to get the namespace definitions at the moment or is the code not in 
place yet?

thanks in advance,

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to