Skip to content
This repository was archived by the owner on Jul 17, 2020. It is now read-only.

Commit dc48ee0

Browse files
First add the attributes, then the childnodes
1 parent 6a443e7 commit dc48ee0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Resources/xsl/doctrine-mapping.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
<xsl:template match='object'>
3030
<xsl:element name='entity' namespace='http://doctrine-project.org/schemas/orm/doctrine-mapping'>
3131
<xsl:attribute name='name'><xsl:value-of select='$objectNamespace'/><xsl:value-of select='@name'/></xsl:attribute>
32-
<xsl:apply-templates select='self::node()' mode='entityIdentifier'/>
3332
<xsl:apply-templates select='orm' mode='tableAttribute'/>
33+
<xsl:apply-templates select='self::node()' mode='entityIdentifier'/>
3434
<xsl:apply-templates select='fields/field'/>
3535
<xsl:apply-templates select='fields/field' mode='fieldEntityReference'/>
3636
<xsl:apply-templates select='orm/inverse-reference' mode='inverseReferences'/>

0 commit comments

Comments
 (0)