[xml] XSLT space handling
- From: Steve Underwood <steveu coppice org>
- To: xml gnome org
- Subject: [xml] XSLT space handling
- Date: Fri, 23 Nov 2001 01:29:04 +0800
Hi,
I am not an XSLT expert, but it seems to me something is not right.
The following template:
<xsl:template name="coreprompts-prompt-script" xml:space="preserve">
<xsl:param name="name" select="string(@name)"/>
<xsl:value-of select="$name"/> <xsl:value-of select="$name" />
</xsl:template>
results in the two copies of $name having no space between them.
Shouldn't the xml:space="preserve" cause the space between the
xsl:value-of tags to be preserved?
Regards,
Steve
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]