xsl-list
[Top] [All Lists]

RE: remove white space

2004-09-22 15:13:00
I had the same issue and resolved it using <xsl:text> in an <xsl:element> :
----
<xsl:element name="a">
        <xsl:attribute name="href">
                <xsl:value-of select="."/>
                <xsl:text>.htm</xsl:text>
        </xsl:attribute>
</xsl:element>
----
Linc

-----Original Message-----
From: Mark Williams [mailto:mark(_at_)skwirel(_dot_)com] 
Sent: Thursday, 23 September 2004 2:39 AM
To: XSL-List
Subject: [xsl] remove white space

Hi,

Is there any easy xslt function for removing white space in an element other
than strip-space.  I have an element which contains urls, some of which have
white space in the middle of the url.  Strip-space won't help with this.

Thanks,

Mark Williams


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--



<Prev in Thread] Current Thread [Next in Thread>