customized x-generator with multiplicity

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>

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