RE: [xsl] inserting HTML comments

Subject: RE: [xsl] inserting HTML comments
From: "Babos, Andras" <ababos@xxxxxxxxxxxxx>
Date: Tue, 2 Nov 2004 16:42:42 +0100
Hi,

> -----Original Message-----
> From: Joe Heidenreich [mailto:HeidenreichJ@xxxxxxxx]
> Sent: 2004. november 2. 16:40
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE: [xsl] inserting HTML comments
>
> I've had similar problem with white spaces and my cheap work around is
to
> not have spaces in my template. So I'd make:
>
> > <PRE>
> >   <B>
> >     <xsl:text>some text node </xsl:text>
> >   </B>
> >   <xsl:call-template name="insert-anchor">
> >     <xsl:with-param name="anchor" select="someNode"/>
> >   </xsl:call-template>
> > </PRE>
>
> into this:
>
> <PRE><B><xsl:text>some text node </xsl:text></B>
> <xsl:call-template name="insert-anchor"><xsl:with-param name="anchor"
> select="someNode"/></xsl:call-template>
> </PRE>

Unfortunately this won't work for me as my templates are way bigger than
this... :-(

Current Thread