+ <xsl:template match="/">
+ <xsl:if test="marc:collection">
+ <collection>
+ <xsl:apply-templates select="marc:record"/>
+ </collection>
+ </xsl:if>
+ <xsl:if test="marc:record">
+ <xsl:apply-templates select="marc:record"/>
+ </xsl:if>
+ </xsl:template>
+