Re: string replace probleme

maalej <[email protected]>
Newsgroups gmane.text.xml.xslt.extensions
Message-ID <[email protected]>
Oleg Tkachenko schrieb:

> maalej wrote:
>
>> but i have a new problem:
>>
>> <xsl:variable name="test">wa</xsl:variable>
>>            <xsl:value-of 
>> select="str:replace(string($test),string('a'),string('yy'))"/>
>>
>> output :
>> wy
>>
>> and not 'wyy' ??
>
>
> Weird. Looks like a bug? Which EXSLT implementation you are using?
>
i dont know :))

this is my header :

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  
xmlns:xalan="http://xml.apache.org/xalan"  version="1.0"  
xmlns:str="http://exslt.org/strings" exclude-result-prefixes="str">
    <xsl:output method="xml" indent="yes" encoding="ISO-8859-1" 
omit-xml-declaration="yes"/>

i use xalan 2.5.1

thanks , that you help me :)

maalej
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.