Hi, [EMAIL PROTECTED] writes:
> The DOM specification says this about createElement > (http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-2141741547) > > In addition, if there are known attributes with default values, Attr > nodes representing them are automatically created and attached to the > element. The spec is actually misleading here. In some situations (e.g., XML Schema-based validation) the "type" of the element (and thus the list of default attributes) could only be determined after it has been inserted into the document. hth, -boris -- Boris Kolpackov Code Synthesis Tools CC http://www.codesynthesis.com Open-Source, Cross-Platform C++ XML Data Binding --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
