IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

xs:group can not used in TSD4?

  • 1.  xs:group can not used in TSD4?

    Posted Tue April 15, 2003 11:33 AM


  • 2.  RE: xs:group can not used in TSD4?

    Posted Wed April 16, 2003 10:38 AM

    TSD4 is a subset of XML schema. This subset will be extended from version to version. The long term goal is to capture the entire XML schema.
    However a new version of the Tamino Schema Editor will convert your schemas to TSD4.


    #API-Management
    #Tamino
    #webMethods


  • 3.  RE: xs:group can not used in TSD4?

    Posted Wed April 16, 2003 11:27 AM

    Dear Cowboy,

    You could download the Tamino Schema Conversion tool 4.1.1 in this community which provide an automatic construct conversion for some unSupported syntax(e.g. xs:group, xs:attributeGroup etc.). So that it can be defined in Tamino.

    For example, the following xs:group construct can be converted as:

    <xs:element name=“usingGroup”>
    xs:complexType
    xs:choice
    <xs:group ref=“refgroup”/>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    <xs:group name=“refgroup”>
    xs:sequence
    <xs:element name="elem1?
    type=“xs:string”/>
    <xs:element name="elem2?
    type=“xs:string”/>
    </xs:sequence>
    </xs:group>

    … is converted to …

    <xs:element name=“usingGroup”>
    xs:complexType
    xs:choice
    xs:sequence
    <xs:element name=“elem1” type=“xs:string”/>
    <xs:element name=“elem2” type=“xs:string”/>
    </xs:sequence>
    </xs:choice>
    </xs:complexType>
    </xs:element>


    Regards,

    Tony


    #webMethods
    #API-Management
    #Tamino