This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Trying to put a <BR> in a string parameter
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Trying to put a <BR> in a string parameter
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 13 Jul 2001 16:06:03 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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