Re: [xsl] RE: Replacing the space character with another character

Subject: Re: [xsl] RE: Replacing the space character with another character
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 14 May 2007 12:10:37 +0100
> > >  <xsl:template match="indexterm">
> > >     <indexterm>
> > >        <xsl:value-of select="translate(.,'&#x20;','&#x26;')"/>
> > >     </indexterm>
> > >  </xsl:template>
> > >

are you sure that that template is ever being executed?, add
<xsl:message>I am here</xsl:message>
or change it to

<xsl:template match="indexterm">
     <indexterm>
      old[<xsl:value-of select=".)"/>]
      new[<xsl:value-of select="translate(.,'&#x20;','&#x26;')"/>]
    </indexterm>


it may be that a higher priority template is being executed, or it's a
namespace issuee, or....

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