
March 18th, 2005, 02:46 PM
|
|
Registered User
|
|
Join Date: Oct 2004
Posts: 12
Time spent in forums: 20 m 2 sec
Reputation Power: 0
|
|
|
XSL Translate Problem
Hello.
Any xml nodes that I have containing a dollar sign followed by a one, show up after the xsl as just the dollar sign. For example:
$100 shows up as $00
I can't make any changes to the xml file that is being generated by a content management programm. I just have to deal with what it spits out.
I am using"
<xsl:variable name="title" select="translate(PRTitle,'$','$ ;')" /> and all is fine. The problem is that I also need to translate another character:
<xsl:variable name="title2" select="translate($title,'®','®')" />
I can't get both to translate, only one or the other.
Any ideas on how to do this would be greatly appreciated.
Thanks.
|