RE: [xsl] IE (6.0) says <xsl:document > not allowed in <xsl:template> ?????

Subject: RE: [xsl] IE (6.0) says <xsl:document > not allowed in <xsl:template> ?????
From: "Bovy, Stephen J" <STEPHEN.Bovy@xxxxxx>
Date: Mon, 23 May 2005 01:17:49 -0400
What about xslt 1.1 ???

-----Original Message-----
From: Dimitre Novatchev [mailto:dnovatchev@xxxxxxxxx]
Sent: Sunday, May 22, 2005 7:46 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] IE (6.0) says <xsl:document > not allowed in
<xsl:template> ?????

xsl:document is not an XSLT 1.0 instruction.

As to information on browser support for XSLT 1.0 (there isn't XSLT 2.0
browser support yet, as there isn't XSLT 2.0) see my post from a few
hours ago.


Cheers,
Dimitre Novatchev

On 5/23/05, Bovy, Stephen J <STEPHEN.Bovy@xxxxxx> wrote:
>
>
> <xsl:template match="/">
>  <html>
>    <head>
>      <title>
>        <xsl:value-of select="local-name(/*)"/>
>      </title>
>    </head>
>    <body>
>  <frameset rows="13%,*" border="0" id="fscroll" name="fscroll">
>   <frame name="head" id="head" src="head.html"
>      marginheight="2" marginwidth="2" scrolling="no" />
>   <frame name="body" id="body" src="body.html"
>      marginheight="2" marginwidth="2" />  </frameset>
>      <xsl:apply-templates/>
>    </body>
>  </html>
> </xsl:template>
>
> <xsl:template match="/*">
>  <xsl:document href="head.xml" >
>  <table id="tb1" border="1" width="100%" cellpadding="5" >
>    <tbody>
>      <tr bordercolor="yellow" bgcolor="Aqua">
>        <th colspan="18" >
>          <xsl:value-of select="local-name(/*)"/>
>        </th>
>      </tr>
>      <tr bordercolor="yellow" bgcolor="#00CCFF">
>        <xsl:apply-templates select="/*/* 1 /*" mode="header"/>
>      </tr>
>    </tbody>
>  </table>
>  </xsl:document >
>  <xsl:document href="body.xml" >
>  <table id="tb2" border="1" width="100%" cellpadding="5" >
>    <tbody>
>      <xsl:apply-templates />
>    </tbody>
>  </table>
>  </xsl:document >
> </xsl:template>

Current Thread