[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: normalize-space and sequence
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 27 Sep 2007 10:13:57 +0100
  Could you please let me know how to fix the following:

  <xsl:template match="entry/para">
    <entry ie="{.}"/>
  </xsl:template>



Don't you just want

  <xsl:template match="entry/para">
    <entry ie="{normalize-space(.)}"/>
  </xsl:template>


David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member