Subject: RE: using traslate function to replace strings
From: kotes mog <kotesm@xxxxxxxxx>
Date: Fri, 13 Aug 2004 12:10:25 -0700 (PDT)
|
Sorry for the late response. The "replace-string"
template available in FAQ has solved the problem.
Thanks
Kotes
--- Michael Kay <mhk@xxxxxxxxx> 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@xxxxxxxxx]
> > Sent: 06 August 2004 22:36
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > Subject: 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
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|