IBM Sterling Transformation Extender

Sterling Transformation Extender

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

 View Only
Expand all | Collapse all

Genration of type tree from a XSD in an automated way

  • 1.  Genration of type tree from a XSD in an automated way

    Posted Wed June 28, 2017 04:31 AM

    Originally posted by: abhishek7969


    Hi I am having a XSD and i need to create a type tree based on that xsd.

    Yes we have a way in Design studio that we can create a type tree  

    https://www.ibm.com/support/knowledgecenter/en/SSVSD8_8.4.0/com.ibm.websphere.dtx.packsapxi.doc/tasks/t_pack_sapxi_How_to_Create_a_Type_Tree_using_the_XML_Schema_Impo.htm

     

    but what i want is to create a type tree in an automated way. user simply need to give the XSD path and the tool and tool will generate the type tree for them.

    I am creating a Framework around WTX which used WTX java APIS and command line options .

     

    I am trying to use timport but  getting some syntax error

     

    timport.exe is working for .dtd and .cpy files but not for xsd . :-(

     

    timport.exe -IMP XMLSCHEMA ["C:\IBM\WebSphere Transformation Extender 9.0.0\examples\xml\ipo.xsd" -LANG WESTERN -VALIDATION XERCES] -LOG "timport_summary.log" -FAIL -APPEND -VERBOSE -O ipo.mtt

     

     

    Please help

    thanks


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


  • 2.  Re: Genration of type tree from a XSD in an automated way

    Posted Thu June 29, 2017 05:00 AM

    Originally posted by: PaulBrettIBM


    This solution was copied from another topic:

    timport -IMP XMLSCHEMA [MySchema.xsd -lang french] -O MyTree.mtt

    Thank you.

    Paul

    Follow me on Twitter


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