3) So now I want to copy the namespace info from the source XML to the target XML.
If I use the mapper to connect wither of xmlns:xsi or xmlns:amzn, and run it, I get the error:
The browser view of output says:
The namespace prefix is not allowed to start with the reserved string "xml".
The output xml looks like this:
<?xml version='1.0' ?>
<AmazonEnvelope xmlns:xmlns="http://www.w3.org/2000/xmlns/"
xmlns:amzn="">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>ABC</MerchantIdentifier>
</Header>
</AmazonEnvelope>
Subject:XSLT: The namespace prefix is not allowed to start with the reserved string Author:(Deleted User) Date:08 Dec 2004 03:04 PM
Hi, neal
you can't create namespace in target element by linking. namespace of output structure comes from
target shcema file. Mapper take what it is in target schema file when poulating target schema tree.
Are you sure you want the amzn namespace in output strucutre? if it is part of the output,
it should be already in the target schema file you picked, right?