The mapping node is using MEssage sets for both Input and Output.
I have following issues : Why The XML xomming out does not have encoding="UTF-8" after version .
2 I have to add folowwing Namespaces inside the XML first element ReturnRequest. So the Output will look like this .
<?xml version="1.0"? encoding="UTF-8" >
<ReturnRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation" = 'C:\dev\xmlspy\CO-RM-ReturnRequest.xsd' >
How can I do all this in Mapping Node or with Message Set.
Thanks
Sam
Joined: 17 Oct 2003 Posts: 344 Location: IBM Hursley
Unfortunately MRM XML does not output the XML encoding attribute and there is no way to force it out. There is a formal requirement raised for this - it is R3217 - I recommend that you get your name added to this requirement too. I think you either have to:
- Use the XMLNS domain instead
- Use ASBITSTREAM to serialise the message tree as a BLOB then insert the encoding attribute using ESQL.
For generating namespace information, all you need to do is make sure that the message set option 'Use Namespaces' is set, then make sure that the correct namespace information is defined for the elements in question in the message set.
I had a similar problem, but I handled this without using the mapping node. In the compute node, you have to add the code for each of the XML statement which you want. You cannot handle this using the MRM.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum