RE: [xsl] Trying to put a <BR> in a string parameter

Subject: RE: [xsl] Trying to put a <BR> in a string parameter
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 13 Jul 2001 16:06:03 +0100
> This is what I'm doing. Within my called template, I'm
> writing the value to
> the Parameter named Value, and when I need to retrieve the
> text of value, I
> use:
>
> <xsl:value-of select="$Value" />

I suspected as much. xsl:value-of converts its argument to a string, so an
empty element becomes - nothing. Use xsl:copy-of.

Mike Kay
Software AG


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


Current Thread