<!-- OBJECTS -->
<!--**********************-->
+<xsl:param name="type" select="'standalone'"/>
+
<xsl:template match="/">
- <!--
- <xsl:processing-instruction name="cocoon-format">type="text/xhtml"</xsl:processing-instruction>
- -->
- <xsl:apply-templates select="*"/>
+ <xsl:choose>
+ <xsl:when test="$type = 'standalone'">
+ <xsl:apply-templates select="*"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <to_be_embedded>
+ <xsl:apply-templates select="*"/>
+ </to_be_embedded>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:template>
<!-- DEFINITION -->