[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] IE (6.0) says not allowed in ?????


Subject: Re: [xsl] IE (6.0) says <xsl:document > not allowed in <xsl:template> ?????
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Mon, 23 May 2005 12:45:45 +1000

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
Keywords