You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Lars Geldner <la...@gmx.net> on 2002/09/02 14:11:26 UTC
[Xalan-Extensions] Frameset - Doctype-Declaration
Hello,
I'm transforming a lot of HTML-Documents from one XML-Document with the Xalan-Extension xalan:write.
One of the HTML-Document should define a Frameset. In this HTML-Document the following Doctype-Declaration is necessary:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
Normally you create this Doctype-Deklaration with the xsl:output-element. But how can I do this when using xalan:write?
For example:
<xsl:template match="xxxxx">
<xsl:variable name="filename">
<xsl:value-of select="xxxyyy"/>
</xsl:variable>
<xalan:write select="$filename">
<!--The Doctype-Declaration should be created here?????-->
<html>
<!--...--->
</html>
</xalan:write>
</xsl:template>
Thanks in advance,
Lars