This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: document.write & copy-of
- To: xsl-list at mulberrytech dot com
- Subject: Re: document.write & copy-of
- From: Mike Brown <mike at skew dot org>
- Date: Thu, 26 Oct 2000 15:22:41 -0600 (MDT)
- Reply-To: xsl-list at mulberrytech dot com
Jeni Tennison wrote:
> <xsl:template match="*" mode="serialise">
> <xsl:text /><<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>></xsl:text>
> <xsl:apply-templates mode="serialise" />
> <xsl:text /></<xsl:value-of select="name()" />><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