Hi Dale, Dale Worley <[EMAIL PROTECTED]> writes:
> If I understand you correctly, XML does not permit the namespace of the > root element to be implied by some context, it must be declared > explicitly in the document? The spec says[1] that "A namespace (or more precisely, a namespace binding) is declared using a family of reserved attributes. [...] These attributes, like any other XML attributes, may be provided directly or by default." So your two choices are to provide them directly in the document or as an attribute with default or fixed value in DTD or, maybe, XML Schema. I personally have never seen a namespace declaration done via a default attribute in XML Schema. [1] http://www.w3.org/TR/2006/REC-xml-names-20060816/#ns-decl Boris -- Boris Kolpackov Code Synthesis Tools CC http://www.codesynthesis.com Open-Source, Cross-Platform C++ XML Data Binding
