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

customized x-generator with multiplicity

  • 1.  customized x-generator with multiplicity

    Posted Mon June 25, 2001 11:20 AM

    Hello all,

    I have add the multiplicity function to the x-application generator 0.4.

    I’ve done this like.

    1) create new loop element within
    structure_Product.xml

    2) create a part of new coding within
    view.xsl

    to Step 1)















    to Step 2)

    <xsl:template match=“heading” mode=“view”>


    <xsl:value-of select=“@name”/>



    <xsl:apply-templates select=“loop” mode=“view”/>


    <xsl:apply-templates select=“display” mode=“view”/>

    </xsl:template>


    <xsl:template match=“loop” mode=“view”>
    <xsl:text disable-output-escaping=“yes”><bdm:loop module=“bdProp” select=“</xsl:text>
    <xsl:value-of select=”@name"/>
    <xsl:text disable-output-escaping=“yes”>" iterate=“</xsl:text>
    <xsl:value-of select=”@iterate"/>
    <xsl:text disable-output-escaping=“yes”>" targetbase=“</xsl:text>
    <xsl:value-of select=”@targetbase"/>
    <xsl:text disable-output-escaping=“yes”>“></xsl:text>


    <xsl:apply-templates select=“display” mode=“view”/>

    <xsl:text disable-output-escaping=“yes”></bdm:loop></xsl:text>
    </xsl:template>


    <xsl:template match=“display” mode=“view”>
    <xsl:for-each select=”.“>




    <xsl:value-of select=”@name"/>



    <xsl:text disable-output-escaping=“yes”> </xsl:text>

    <xsl:text disable-output-escaping=“yes”><bdm:display select=“</xsl:text>
    <xsl:value-of select=”@select"/>
    <xsl:text disable-output-escaping=“yes”>"/></xsl:text>

    <xsl:text disable-output-escaping=“yes”> </xsl:text>

    </xsl:for-each>
    </xsl:template>


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: customized x-generator with multiplicity

    Posted Fri June 29, 2001 07:09 PM

    I very much thank you for this contribution. I will try to integrate it into an upcoming version of the generator.
    Stay tuned…


    #Tamino
    #API-Management
    #webMethods