Posted: Tue Feb 18, 2003 2:15 am Post subject: Assigning schemalocation on XML
Centurion
Joined: 15 Apr 2002 Posts: 102
Hi
I have imported XSD into the MRM and I need to translate a Fixed format message to xml using the xsd message set as output.I have been able to map most of the fields except for the ff:
1. xsi:schemaLocation.
Is there a setting that I need to set or do I need to define the element in message set? This field is not defined in imported XSD message set
I can set this value using ESQL (see below) BUT output shows the tag as an elemnt rather than an attribute.
SET "OutputRoot"."MRM".(XML.attr)"xsi:schemaLocation" = 'http://www.ibm.com/industries/financialservices/insurance/IAA pretransaction.xsd' ;
2.encoding="UTF-8"
I would like to believe that there is a setting that is required for this field.Because my message is based on the MRM, the following line still does not work
SET "OutputRoot"."XML".(XML.XmlDecl).(XML."Encoding")= 'UTF-8'
Neither does :
SET "OutputRoot"."MRM".(XML.XmlDecl).(XML."Encoding")= 'UTF-8'
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