This is a Windows 19.1 app that generates XML.
Code
Code:
Get CreateDocumentElementNS of hoXML "" "DocumentMetaData" to hoRoot
Send AddAttribute of hoRoot "xmlns" "urn:wco:datamodel:WCO:Declaration:1"
Get AddElementNS of hoRoot "" "CommunicationMetaData" "" to hoNode1
The above code produces:
<DocumentMetaData xmlns="urn:wco:datamodel:WCO
eclaration:1">
<CommunicationMetaData xmlns="">
What I want is
<CommunicationMetaData>
Question: How do I get rid of the xmlns=""?
Why do I want to get rid of it? Cuz Notepad++ and other Schema Validators do not like it.
Thanks
Archie