| 
 
Subject: Re: strip non-text space, returns, tabs, etc... From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 29 Nov 1999 21:40:45 GMT  | 
<xsl:element name="A">
        <xsl:attribute name="href"><xsl:value-of
select="myValue"/></xsl:attribute>
        <xsl:text>This is a link.</xsl:text>
</xsl:element>
don't do that, do this
<xsl:element name="A">
        <xsl:attribute name="href"><xsl:value-of
select="normalize-space(myValue)"/></xsl:attribute>
        <xsl:text>This is a link.</xsl:text>
</xsl:element>
or simpler, this
<A name="{normalize-space(myValue)}">
  <xsl:text>This is a link.</xsl:text>
</A>
David
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| strip non-text space, returns, tabs, Russell Allen | Thread | How do I drop an apostrophe?, James Garriss | 
| Re: document(a,b) for b not a singl, Phil Lanch | Date | Processing XML. RFC., Paul Tchistopolskii | 
| Month |