xsl-list
[Top] [All Lists]

Re: character replacement

2005-01-07 09:27:09


so what was your problem?

I would guess that his problem was 

<xsl:template match="@*|*">
       <xsl:value-of select="translate(.,'â,B,(B','&#8364;')"/>
</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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>