Skip to content

Commit 7ec3dc8

Browse files
authored
Merge pull request #23 from hazendaz/master
[enhance] Apply #5 - fixes #5
2 parents a940ca7 + b90a4c7 commit 7ec3dc8

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

migrate.xslt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,14 @@
368368
<xsl:if test="@property">
369369
<xsl:attribute name="property"><xsl:value-of select="@property" /></xsl:attribute>
370370
</xsl:if>
371-
<xsl:if test="@column">
372-
<xsl:attribute name="column"><xsl:value-of select="@column" /></xsl:attribute>
373-
</xsl:if>
371+
<xsl:choose>
372+
<xsl:when test="@column">
373+
<xsl:attribute name="column"><xsl:value-of select="@column" /></xsl:attribute>
374+
</xsl:when>
375+
<xsl:otherwise>
376+
<xsl:attribute name="column"><xsl:value-of select="@property" /></xsl:attribute>
377+
</xsl:otherwise>
378+
</xsl:choose>
374379
<xsl:if test="@javaType">
375380
<xsl:attribute name="javaType"><xsl:value-of select="@javaType" /></xsl:attribute>
376381
</xsl:if>

0 commit comments

Comments
 (0)