|
Subject: Re: [xsl] RE: Replacing the space character with another character From: "Mark Peters" <flickrmeister@xxxxxxxxx> Date: Mon, 14 May 2007 07:31:27 -0400 |
<xsl:template match="indexterm">
<indexterm>
old[<xsl:value-of select=".)"/>]
new[<xsl:value-of select="translate(.,' ','&')"/>]
</indexterm>
</xsl:template>SystemId Unknown; Line #20; Column #37; XSLT Error (javax.xml.transform.Transfor merConfigurationException): javax.xml.transform.TransformerException: javax.xml. transform.TransformerException: Extra illegal tokens: ')'
Thanks, Mark
> > > <xsl:template match="indexterm"> > > > <indexterm> > > > <xsl:value-of select="translate(.,' ','&')"/> > > > </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(.,' ','&')"/>] </indexterm>
it may be that a higher priority template is being executed, or it's a namespace issuee, or....
David
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] RE: Replacing the space c, David Carlisle | Thread | Re: [xsl] RE: Replacing the space c, David Carlisle |
| Re: [xsl] The collection() function, Jesper Tverskov | Date | Re: [xsl] RE: Replacing the space c, David Carlisle |
| Month |