Mercurial > pub > ModelGenerator
comparison xslt/model.xsl @ 4:d240adc2ac70
sync
author | cin |
---|---|
date | Thu, 01 Mar 2018 16:53:23 +0300 |
parents | 437127ab6a12 |
children | 1f4009d4afb6 |
comparison
equal
deleted
inserted
replaced
3:437127ab6a12 | 4:d240adc2ac70 |
---|---|
171 | 171 |
172 <xsl:template match="m:hasA" mode="process-member"> | 172 <xsl:template match="m:hasA" mode="process-member"> |
173 <xsl:apply-templates mode="process-member"/> | 173 <xsl:apply-templates mode="process-member"/> |
174 </xsl:template> | 174 </xsl:template> |
175 | 175 |
176 <xsl:template match="m:hasA[@type]/m:thisKey" mode="process-member"> | 176 <xsl:template match="m:hasA[@type]/m:thisKey" mode="foreign-key"> |
177 <xsl:variable name="foreignPrimaryKey"> | 177 <xsl:variable name="foreignPrimaryKey"> |
178 <xsl:call-template name="getPrimaryKey"> | 178 <xsl:call-template name="getPrimaryKey"> |
179 <xsl:with-param name="type" select="../@type"/> | 179 <xsl:with-param name="type" select="../@type"/> |
180 </xsl:call-template> | 180 </xsl:call-template> |
181 </xsl:variable> | 181 </xsl:variable> |