Anybody know a function to test whether a DOM is Level2 or nor? Xalan people wrote: >You must create the DOM using the DOM level 2 APIs, so all namespaces are >correct. For example, an attribute which declares an XML namespace _must_ >have the appropriate namespace URI for the prefix "xmlns". You might want >to put a sample document through the DOM parser, with namespace processing >turned on, just to see what the attributes and elements look like. > >If you're document _has_ been created properly, then please create a bug >and attach a _minimal_ code sample so we can reproduce and diagnose the >problem.
And my previous mail: >The Xalan-C people mentioned I have to create a DOM Level2. MMh. How do I >do this? I use "DOM_Document::createDocument()" to create a DOM_Document >and add many Elements, Attributes with "createElementNS(...)" and >"createAttributeNS(...)". Is there a special switch to turn on DOM Level >2? How can I test whether my DOM_Document is DOM Level2 or Level1? -- holger floerke d o c t r o n i c email [EMAIL PROTECTED] information publishing + retrieval phone +49 2222 9292 90 http://www.doctronic.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
