In my Compute node I've got to produce an XML output message. I have defined a message set with MRM domain and XML physical format. The message body is OK, but i'd have to make an xml header such like that:
I can set the version and standalone parameters to be there, in the Poperties panel of the XML physical format. But how can i put the encoding there?
In my compute node i use references like:
"OutputRoot"."MRM"."Name", etc.
it works correct, till i add the following code to generate the xml-header
SET OutputRoot.XML.(XML.XmlDecl) = '';
SET OutputRoot.XML.(XML.XmlDecl).(XML.Version) = '1.0';
SET OutputRoot.XML.(XML.XmlDecl).(XML."Encoding") = 'ISO-8859-2';
SET OutputRoot.XML.(XML.XmlDecl).(XML.Standalone) = 'no';
then it comes back with an exception:
"No valid body of the document could be found."
Is there any way to put the 'encoding' to my xml-header?
You cannot mix messages from different domains (MRM and XML) in a single compute node.
Do your MRM stuff first, then recast from MRM-XML to generic XML using an RCD node and see can you then add the required XML declarations in a subsequent compute node.
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