Re: document.write & copy-of

Subject: Re: document.write & copy-of
From: Mike Brown <mike@xxxxxxxx>
Date: Thu, 26 Oct 2000 15:22:41 -0600 (MDT)
Jeni Tennison wrote:
> <xsl:template match="*" mode="serialise">
>   <xsl:text />&lt;<xsl:value-of select="name()" />
>   <xsl:for-each select="@*">
>     <xsl:text> </xsl:text>
>     <xsl:value-of select="name()" />
>     <xsl:text />="<xsl:value-of select="." />"<xsl:text />
>   </xsl:for-each>
>   <xsl:text>&gt;</xsl:text>
>   <xsl:apply-templates mode="serialise" />
>   <xsl:text />&lt;/<xsl:value-of select="name()" />&gt;<xsl:text />
> </xsl:template>

Don't know why I didn't think of that.
But what is the purpose of empty <xsl:text /> instructions?

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at         My XML/XSL resources:
webb.net in Denver, Colorado, USA           http://www.skew.org/xml/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread