Subject: Re: [xsl] character replacement From: David Carlisle <davidc@xxxxxxxxx> Date: Fri, 7 Jan 2005 16:27:09 GMT |
> so what was your problem? I would guess that his problem was > >><xsl:template match="@*|*"> > >> <xsl:value-of select="translate(.,'b,B,(B','€')"/> > >></xsl:template> which means that the action on any element is to convert the entire element to a string and do this replacement, so unless there are some more templates around, there will be no elements or any structure at all in the output. On the other hand he _said_ the problem was >> but the function replace is not recognized which would indicate that he isn't using XSLT, perhaps the dreaded microsoft dialect? David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] character replacement, António Mota | Thread | Re: [xsl] character replacement, Colin Paul Adams |
Re: [xsl] Predicates, JBryant | Date | Re: [xsl] Counting preceding nodes, David Carlisle |
Month |