xsl-list
[Top] [All Lists]

RE: inserting HTML comments

2004-11-02 08:42:42
Hi,

-----Original Message-----
From: Joe Heidenreich [mailto:HeidenreichJ(_at_)aaps(_dot_)org]
Sent: 2004. november 2. 16:40
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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... :-(


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