> -----Original Message-----
> From: Richard Gill [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 18 April 2006 7:39 PM
> To: [email protected]; [EMAIL PROTECTED]
> Subject: Re: Comments in HTML output files
> 
> Gav,
> 
> Actually, what you're doing is exactly what I'm doing as well. What
> works is to embed the SSI include statement within a <xsl:comment/>
> element in the xsl stylesheet. Your include statement would then look
> like the following:
> 
> <xsl:include>#include virtual="/page.inc"</xsl:comment>
> 
> When the page gets parsed the <xsl:comment/> outputs the <!-- --> symbols.
> 
> RAGill

Doh!, how easy is that. Thanks :)

Gav...

> 
> On 4/17/06, Gav.... <[EMAIL PROTECTED]> wrote:
> >
> >
> > > -----Original Message-----
> > > From: Stephen Blass [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, 18 April 2006 1:17 AM
> > > To: [email protected]
> > > Subject: RE: Comments in HTML output files
> > >
> > > Give up the comments... Or change the entity mapping.
> >
> > There is also an issue at Forrest regarding the use
> > Of includes.
> >
> > e.g.
> >
> > <!--#include virtual="/page.inc" -->
> >
> > This of course, gets ignored thinking it is a comment
> > When it is not.
> >
> > Any ideas on this one, I was thinking adding an 'if'
> > Statement where appropriate to allow this sort
> > Of thing through ?
> >
> > Gav...
> >
> > >
> > > -----Original Message-----
> > > From: Richard Gill [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, April 17, 2006 10:15 AM
> > > To: [email protected]
> > > Subject: Comments in HTML output files
> > >
> > > I need to include comment "<!-- -->" sections inside of static html
> > > documents that are generated by Lenya. The problem is that if I create
> a
> > > <![CDATA[ ]]> section, <xsl:value-of ....>, or <xsl:text... in the xsl
> > > file to output the <> chars, the entity &lt; or &gt; is subsitutted
> > > instead. Does anyone have any ideas of how I can preserve the < and >
> > > symbols in the transformation?
> > >
> > > Thanks,
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED] For
> additional
> > > commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > > --
> > > No virus found in this incoming message.
> > > Checked by AVG Free Edition.
> > > Version: 7.1.385 / Virus Database: 268.4.2/314 - Release Date:
> 16/04/2006
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.4.3/316 - Release Date: 17/04/2006




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to