Hey,
If this was correct behaviour, I would expect xmlns attrs be removed from the attribute list of the DOMDocument's root element by the parser, when parsing an xml document. But my observation is that all attributes (incl. xmlns) appear there after parsing. Or did I miss setting a property referring to this?
Yes that would seem to be reasonable behavior :) However it is not actual behavior. Namespaces were added on to XML after the fact. Some people would consider them somewhat of a hack :) There are reasons as to why this is the best behavior - its a bit off topic for this list, but if you are interested drop me a personal mail. Namespaces are issue that catch out XML experts time and time again. Wait until you start trying to use DOM XPath!!
Gareth
-- Gareth Reakes, Managing Director Parthenon Computing +44-1865-811184 http://www.parthcomp.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]