This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: xsl:template combined with xt:document


Hello Benjamin

>
>Here's my problem : I have a piece of code like that :
>     <xsl:for-each select="child::TEXT">
>       <xt:document method="html" href="{$file}_{@xml:lang}.html">
>         <xsl:template match="LEVEL1">            <-- this is the line 14

Mike Kay's book, on page 289, says that xsl:template is a top-level element, 
and appears as a child of the xsl:stylesheet element.  I think your problem 
is that you don't have it as a top level element.
Hope this helps
Edmund
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]