[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: IE (6.0) says <xsl:document > not allowed in <xs
You seem to be trying to use the xsl:document that was defined in the defunct XSLT 1.1 specification - this was a precursor to XSLT 2.0's xsl:result-document. It's not implemented in MSXML, or in most other XSLT 1.0 processors. (You probably got it from the second edition of my book. This was prepared when it looked as if XSLT 1.1 would become a standard quite soon. There are lots of qualifying statements saying "this is an XSLT 1.1 feature" but people often miss them.) Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Bovy, Stephen J [mailto:STEPHEN.Bovy@xxxxxx] > Sent: 23 May 2005 03:28 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: IE (6.0) says <xsl:document > not allowed in > <xsl:template> ????? > > > > <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>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|