IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  Mutiple XSD for input XML - WTX

    Posted 03/08/17 01:03 PM

    Originally posted by: NICK_R


    Team,

    I am creating a WTX map that accepts a single XML and transform it to Copybook.

    I figured out the XML we receive as input has 2 different pointers of XSD , one for APPHDR (application header) and the other one is for document.

    DO I have to create a second input card and import the second XSD or is there any way that I can point the parent XSD with in a single input card setting? Again, I receive only 1 XML file so I am concerned about creating a second input card.

     

    FROM XML which shows it points to 2 xsd :

    cdtBusinessData>
     <AppHdr xmlns="urn:iso:std:iso:20022:tech:xsd:head.001.001.01"
     </AppHdr>
     <Document xmlns="urn:iso:std:iso:20022:tech:xsd:seev.036.002.07">
     </Document>
    </cdtBusinessData>

     


    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 2.  Re: Mutiple XSD for input XML - WTX

    Posted 03/08/17 01:41 PM

    Originally posted by: DeM0n


    The import utility of WTX designer should take care of this by itself and create one single tree if you have defined both the schemas in one XSD.


    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 3.  Re: Mutiple XSD for input XML - WTX

    Posted 03/08/17 01:48 PM

    Originally posted by: NICK_R


    Well, That is they way to follow. But business gave the schemas that are not defined in one XSD.

     

    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns="urn:iso:std:iso:20022:tech:xsd:seev.036.002.07" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="urn:iso:std:iso:20022:tech:xsd:seev.036.002.07">

     

    <?xml version="1.0" encoding="UTF-8"?>
    <!--Generated by Standards Editor (build:R1.0.41.3) on 2013 May 27 13:50:29, ISO 20022 version : 2013-->
    <xs:schema xmlns="urn:iso:std:iso:20022:tech:xsd:head.001.001.01" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="urn:iso:std:iso:20022:tech:xsd:head.001.001.01">

     

    Usually as far as I know parent or child XSD will have the other pointed into that XSD. But here I get the single XML but have 2 XSD.


    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 4.  Re: Mutiple XSD for input XML - WTX

    Posted 03/08/17 02:16 PM

    Originally posted by: DeM0n


    Well, in that case either create the combined XSD yourself or create 2 trees and combine them in one....cant think anything more than that...


    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender