Hi,
I’m trying to produce an XML document where the default namespace is supplied but not shown in the xml body.
eg
<?xml version=”1.0″ ?>
<ProcessPurchaseOrder xmlns=”http:openapplications.org/oagis/9″ xmlns:oagis=”http:openapplications.org/oagis/9″ xmlns:xsi=”http:///www.w3.org/2001/XMLSchema-instance” xmlns:p2p=”http://www.d2btrade.com/p2p/9″ releaseID=”1″ versionID=”301″ systemEnvironmentCode=”Production” languageCode=”en-US”>
<ApplicationArea>
<Sender>
<LogicalID>DECS P2P</LogicalID>
what I get is as below, with the oagis namespace included in every tag name.
<?xml version=”1.0″ ?>
<oagis:ProcessPurchaseOrder xmlns=”http://www.openapplications.org/oagis/9″ xmlns:oagis=”http://www.openapplications.org/oagis/9″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:p2p=”http://www.d2btrade.com/p2p/9″ releaseID=”1″ versionID=”301″ systemEnvironmentCode=”Production” languageCode=”en-US”>
<oagis:ApplicationArea>
<oagis:Sender>
<oagis:LogicalID>DECS P2P</oagis:LogicalID>
I’ve tried using the XMLRTM.DisableAutomaticNamespaceCreation command but that didn’t work.
continue reading.....