This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: losing significant whitespace with normalize-space


You're right, the translation worked like a champ, just needed a space in
the replacement string:

   <xsl:template match="text()">
     <xsl:value-of select="translate(., '&#xA;&#xD;', ' ')"/>
   </xsl:template>

Many thanks for all the (quick) help!
Denis

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]