[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xsl:template combined with xt:document

Subject: xsl:template combined with xt:document
From: "B. DEXHEIMER" <benjamin.dexheimer@xxxxxxxxxxxxxxxxxx>
Date: Thu, 19 Oct 2000 14:51:32 +0200
msxml xt document
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.