How To Prevent The Namespace Generation?
I am creating an XML document with the root Application and a default namespace like this: var doc = document.implementation.createDocument ('http://AOR-AppML.org', 'Application',
Solution 1:
The global 'document' object has a default namespace so you need to create the other elements using the 'doc' object you built.
var entityTypeNode = doc.createElement('EntityType');
That way the elements are also created in the namespace you identified.
Post a Comment for "How To Prevent The Namespace Generation?"