I was looking on the web for information on the xalan:write command;
unfortunately, with the information I found I couldn't get further than the
below example.
Thie following code doesn'
t work with me, but I cannot figure out why. Can anybody give me a decisive
hint, please?
Matthias
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xalan="http://xml.apache.org/xalan"
exclude-result-prefixes="xalan">
<template match="/">
<html>
<head>
</head>
<frameset rows="70%,30%">
<frame src="frame-1.html" name="body"/>
<frame src="frame-2.html" name="add"/>
</frameset>
<noframes>
</noframes>
</html>
</template>
<xalan:write file="frame-1.html">
<xsl:template match="/">
<html>
<head>
</head>
<body>
<xsl:apply-templates />
<xsl:text>Test #1.</xsl:text>
</body>
</html>
</xsl:template>
</xalan:write>
<xalan:write file="frame-2.html">
<xsl:template match="/">
<html>
<head>
</head>
<body>
<xsl:apply-templates />
<xsl:text>Test #2.</xsl:text>
</body>
</html>
</xsl:template>
</xalan:write>
</xsl:stylesheet>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>