This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
xsl:template combined with xt:document
- To: xsl-list at mulberrytech dot com
- Subject: xsl:template combined with xt:document
- From: "B. DEXHEIMER" <benjamin dot dexheimer at sxb dot bsf dot alcatel dot fr>
- Date: Thu, 19 Oct 2000 14:51:32 +0200
- References: <NEBBJLNLFMMHAGIOAOIFMENJCBAA.tomas.aspelin@six.se>
- Reply-To: xsl-list at mulberrytech dot com
Hello Everyone!
First of all I'd like to thanx all the xsl-list's people for their
precious help!
Here's my problem : I have a piece of code like that :
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xt="http://www.jclark.com/xt"
extension-element-prefixes="xt">
<xsl:output method="html"/>
...
<xsl:for-each select="child::TEXT">
<xt:document method="html" href="{$file}_{@xml:lang}.html">
<xsl:template match="LEVEL1"> <-- this is the line 14
<!-- some html code here... -->
</xsl:template>
</xt:document>
</xsl:for-each>
when I run xt, I have the following erro message :
file:/users/dexheim1/XML/test3.xsl:14: expected action not xsl:template
My goal is to produce several html files from 1 xml description file.
With that code, I succeeded in outputing
several html files but they are filled only with the character data.
They aren't truly html formatted though.
I hope it isn't a dummy question...
Thanks and regards!
Benjamin.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list