Sorry for the late response. The "replace-string"
template available in FAQ has solved the problem.
Thanks
Kotes
--- Michael Kay <mhk(_at_)mhk(_dot_)me(_dot_)uk> wrote:
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>
--+--
--+------------------------------------------------------------------
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>
--+--
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com