writerfilter07: UML:Attribute(ww8resource) handle arrays
This commit is contained in:
parent
913f68ef5e
commit
c579664c75
1 changed files with 10 additions and 0 deletions
|
@ -135,6 +135,11 @@
|
||||||
<xsl:with-param name="type" select="$type"/>
|
<xsl:with-param name="type" select="$type"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
<xsl:variable name="arraycount">
|
||||||
|
<xsl:call-template name="gettaggedvalue">
|
||||||
|
<xsl:with-param name="name">arraycount</xsl:with-param>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="string-length($mask) = 0">
|
<xsl:when test="string-length($mask) = 0">
|
||||||
<attribute>
|
<attribute>
|
||||||
|
@ -147,6 +152,11 @@
|
||||||
<xsl:attribute name="size">
|
<xsl:attribute name="size">
|
||||||
<xsl:value-of select="$size"/>
|
<xsl:value-of select="$size"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
|
<xsl:for-each select="UML:ModelElement.stereotype/UML:Stereotype[@xmi.idref='array']">
|
||||||
|
<xsl:attribute name="array-count">
|
||||||
|
<xsl:value-of select="$arraycount"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
</xsl:for-each>
|
||||||
<xsl:attribute name="token">
|
<xsl:attribute name="token">
|
||||||
<xsl:call-template name="gettaggedvalue">
|
<xsl:call-template name="gettaggedvalue">
|
||||||
<xsl:with-param name="name">attrid</xsl:with-param>
|
<xsl:with-param name="name">attrid</xsl:with-param>
|
||||||
|
|
Loading…
Reference in a new issue