Yes, Namespaced *attributes* do indeed require prefixes in XML syntax (there's no "default namespace" for attributes). But attribute nodes in the DOM do not require prefixes. When serializing namespaced-but-not-prefixed attributes from DOM to XML syntax, the serializer must fix this up. See the Level 3 working draft for its algorithms; if you're working with an earlier implementation of the DOM, you can and should implement those or something equivalent in your own serializer code. ______________________________________ Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more. "The world changed profoundly and unpredictably the day Tim Berners Lee got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filkReceived on Wednesday, 10 December 2003 13:18:20 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:57 GMT