xsl-list
[Top] [All Lists]

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

2005-05-22 19:27:32
 

<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>


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>