Subject: RE: using traslate function to replace strings
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Sat, 7 Aug 2004 00:33:05 +0100
|
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
|