IBM Sterling Transformation Extender

Sterling Transformation Extender

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


#Sterling
#Supplychain
 View Only
Expand all | Collapse all

Modifying a Type tree based in a xsd schema with Xerces validation

  • 1.  Modifying a Type tree based in a xsd schema with Xerces validation

    Posted 09/10/16 11:18 AM

    Originally posted by: migsss


    I need to modify a Type tree that is based in a XSD schema using Xerces validation, The change consists in adding some new XML elements. Due to the Xerces validation option, I cannot add the elements handly, because I cannot use XML as a value for the field intention and I cannot especify the XSD elements that they derive from.

     

    The easyer way to tackle the issue is importing the new version of the xsd schema and overwriting my current type tree, but there are some particles (sequences, choices...) whose name is set by the WTX importer, and is a prefix + a secuence number (seq1, seq2, seq3...). When I import the new XSD, a lot of the current names change, and the correlations become incorrect, with hundreds of errors.

     

    Is there a way to change only the part of the type tree that I need, and adding some fields without importing the XSD again?

     

    Thanks...


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


  • 2.  Re: Modifying a Type tree based in a xsd schema with Xerces validation

    Posted 09/13/16 10:41 AM

    Originally posted by: Martin_us1


    Hi,

    Your requirement is to make change(adding/deleting elements) in Typetree without importing XSD again so that  to make sure no arise of dependencies .

    Now, I suggest you solution which might help you.For that:

    *Export the typetree by taking ROOT Category as reference and Create ".mts" file.

    *In that file, make changes as like you wish adding/deleting of elements .

    *Save that file and again import that file through "typetree maker" option.

    Now you will get  updated typetree with changes without affecting other elements.

    Hope, it helps. If it doesn't work let me know.

    Thanks,

    chinna.


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