xsl-list
[Top] [All Lists]

RE: using traslate function to replace strings

2004-08-06 16:33:05
I think you have completely misunderstood what the translate function does.

Take a look at the FAQ under "replace".

Michael Kay 

-----Original Message-----
From: kotes mog [mailto:kotesm(_at_)yahoo(_dot_)com] 
Sent: 06 August 2004 22:36
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] using traslate function to replace strings

Hi,

I am trying to use translate to change 

"${VITRIA}" to "dependency". The following code is
changing "${VITRIA}" to "dependenc". Please let me
know if there is any better way to change the strings

<xsl:attribute name="VALUE">
                <xsl:value-of
select="translate(@VALUE,'${VITRIA}','dependency')"/>
            </xsl:attribute>

thanks for the help

--kotes



              
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

--+------------------------------------------------------------------
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>
--+--