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.  ¿ Batch Import from .dtd to .mtt ?

    Posted 01/08/08 05:37 AM

    Originally posted by: Kepa_Screen


    Hi.

    We are trying to reconstruct our .mtt files ( based on dtd's ), with a patched version of xmlsimp.jar file ( importer for dtd's at type tree designer )
    The reason is that our old xmlsimp.jar file missed restrictions for items ( restrictions for especial characters like '>' '<' ).

    Now we have the correct version that makes all items to have the correct restrictions automatically when importing from XML Dtd to .mtt

    But we have a thousand or more .dtd files to be reconstructed, so...is there any way to import this in a "bach mode" ?

    ( just the same with texport.exe / timport.exe / mimport.exe ...etc

    Thanks in advance.

    Message was edited by: Kepa
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 2.  Re: ¿ Batch Import from .dtd to .mtt ?

    Posted 01/10/08 03:58 AM

    Originally posted by: LaurentB


    Hi,

    this mostly depends on the version you're using...

    If it's 8.1 (not sure for 8.0, but may be the same case), the timport utility does it, as it has a DTD option.

    Otherwise, I guess one could imagine "mapping" the dtd format to the mts one (may need to "hack" the importer components a bit, but may be worth the time)

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


  • 3.  Re: ¿ Batch Import from .dtd to .mtt ?

    Posted 01/10/08 04:15 AM

    Originally posted by: Kepa_Screen


    Hi, thanks for the reply.

    We are working with 6.7.1 at this time, but are migratin to 8.0.1 soon.
    We thought about "hacking" a copy of xmlsimp.jar, and use DtdImporter.class in some manner but we are not lucky yet with this.

    java -jar xmlsimp.jar ....and what more ?
    java -cp xmlsimp.jar -class DtdImporter ... ???

    also tried to change the manifest, but could not find main() procedure...

    Some help about how to execute this, will be welcome, we are not users of java.
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 4.  Re: ¿ Batch Import from .dtd to .mtt ?

    Posted 01/10/08 04:32 AM

    Originally posted by: janhess


    In 6.7.1 there is a map called DTD_Importer.mmc. It requires 2 input files and creates xml for timport.exe
    The input cards are
    1 the dtd file
    2 the path to the dtd file

    The output card 7 is the xml file.


    On closer inspection of the output, I don't think it will work. Sorry.

    Message was edited by: janhess
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 5.  Re: ¿ Batch Import from .dtd to .mtt ?

    Posted 01/10/08 06:54 AM

    Originally posted by: Kepa_Screen


    Ok, thanks for the reply.
    Still trying to "hack" xmlsimp.jar ( we think this is the process used for this, because it was the file changed at dstx in order to manage the bug ).
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 6.  Re: ¿ Batch Import from .dtd to .mtt ?

    Posted 01/10/08 05:48 AM

    Originally posted by: LaurentB


    Janhess,

    this was what I meant by "hacking" the importer, but I was not sure whether it was a map or java program behind this.
    It may be worth an additional effort (I tried it but got no results at the moment)
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange