xsl-list
[Top] [All Lists]

RE: Hmmmm.... translate function

2003-03-15 11:09:19
Hi Mark

-----Mensagem original-----
De: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com 
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com] Em nome de 
mark_fletcher(_at_)peoplesoft(_dot_)com
Enviada: sexta-feira, 14 de Marco de 2003 20:05
Para: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Cc: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com; 
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Assunto: Re: [xsl] Hmmmm.... translate function



(...)
 <xsl:value-of select="translate($div, '+', 
'%')"/><xsl:value-of select ="translate($div, '+', 
'2')"/><xsl:value-of select="translate($div, '+', 'B')"/>


Mark Fletcher
PeopleSoft Language Engineering
925.694.3753
mark_fletcher(_at_)peoplesoft(_dot_)com


 that won't work with his example
If @div = "12 All +" you'll get:
12 All %12 All 212 All B
And what he wants is:
12 All %2B


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>