Skip to Content
avatar image
Former Member

MII XML to XML - How?

Hi

I am using an action block Advanced Flat File to MII XML from Salvatore Castro. Does anyone has experience in it?. The action block simply returns an xMII XML by parsing after parsing an flat file (csv for eg).

However the the returned XML is an xMII XML (but in the link editor there is not data structure of the xMII XML).

I thought of using reference document to map the output but I think reference document could not parse xMII XML.

anyone has any idea??

thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 14, 2011 at 10:51 AM

    Hi,

    I think you need to check back with Sam on the custom action block.

    Regards,

    Mike

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 14, 2011 at 02:39 PM

    Seng,

    The reason why you don't see the output xml structure is because the action doesn't know until runtime what the output will be. You can pre-configure columns in the action configuration and I believe this will generate an output xml strucuture.

    The other option is to assign a Reference Document to the XML output property of the action.

    Hope this helps,

    Sam

    Add comment
    10|10000 characters needed characters exceeded

    • Seng,

      Perhaps you may have mixed up the purpose of the reference document, it works for me on my system, so let me explain how it works. The reference document assignment is designed to allow you to define a structure of an XML input/output transaction property or Incoming/Outgoing elements of an action. To use this assignment you have to have an XML defined that represents the XML you want to assign. For example create a Local Property called "FlatFileXMLReference" of Type XML and give it the expected value of the FlatFileParser action. Next in the workbench assign the Local property as a reference document to the OutputXML of the FlatFileParser action. Now in the link editor you will see the output XML populated with the value of the local property.

      This is purely a design time feature that is to help you in defining links and will not affect the runtime environment of the transaction.

      Hope this helps,

      Sam