Subject: RE: [xsl] IE (6.0) says <xsl:document > not allowed in <xsl:template> ????? From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Mon, 23 May 2005 09:11:11 +0100 |
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: [xsl] 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>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] IE (6.0) says <xsl:docume, Dimitre Novatchev | Thread | RE: [xsl] IE (6.0) says <xsl:docume, Bovy, Stephen J |
RE: [xsl] configuring a conditional, Michael Kay | Date | [xsl] Notes to PDF, amita rathore |
Month |