i have used a compute node for the purpose and the ESQL is
SET OutputRoot.XML.Embed = InputRoot.*[LAST];
with "copy message headers only option".
But the output is missing the xml declaration i.e.,
<?xml version="1.0" standalone="yes" ?>
This can be achieved in MQSI V2.1 as the tree structure includes xml declaration and hence possible to access it thro' ESQL(enhanced in version 2.1).How can it done in MQSI 2.0.1?i tried setting the format field of properties to XML.but it did not work.Anyone there can help me pls!
Before the 'SET OutputRoot.XML.Embed = InputRoot.*[LAST];' statement, have you tried :
SET OutputRoot.XML.(XML.XmlDecl).(XML.Version) = '1.0';
SET OutputRoot.XML.(XML.XmlDecl).(XML.attr)standalone = 'yes';
or something to that effect ?
WMQI 2.1 MRM defined XML messages can generate the XML headers for you.
If you continue to use generic XML you have to code ESQL to generate it. Examples are in the ESQL reference manual. This manual first appears with 2.0.2 but I imagine the generic XML header statements would apply to 2.0.1
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