+<xsl:template match="Sequent"> <!-- For Sequents there are no annotations -->
+ <Sequent helm:xref="{@id}" no="{@no}">
+ <xsl:for-each select="Decl|Def|Hidden">
+ <xsl:copy>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@name"/>
+ </xsl:attribute>
+ <xsl:attribute name="helm:xref">
+ <xsl:value-of select="@id"/>
+ </xsl:attribute>
+ <xsl:apply-templates select="*[1]"/>
+ </xsl:copy>
+ </xsl:for-each>
+ <Goal>
+ <xsl:apply-templates select="Goal/*[1]"/>
+ </Goal>
+ </Sequent>
+</xsl:template>
+