The ® is because (well I think) of the utf-8 code, try utf8_decode() to
decode it and to get it back.
P.S. What is they command that you made for php 4.0.6 to parse your xml
file, I'm not able to parse a xml file with sablotron since 4.0.6.
Maxim Derkachev wrote:
>
> Hi all.
>
> Just met two bugs (?) in the xslt module.
> 1st. I replace HTML entities in the CDATA parts with their ascii
> equivalents ('<' -> '<', '>' -> '>', etc.)
> After XSLT transformation, '<' went back to '<', while any other
> remain untouched.
>
> 2nd. After the transformation, &#<ascii code>; are substituted with
> their char equivalents, prepended with  character. E.g. ®
> ('registered' sign) become ® .
>
> Could someone advise?
>
> P.S. PHP4.0.6, Sablotron 0.6.
>
> --
> Best regards,
> Maxim Derkachev mailto:[EMAIL PROTECTED]
> System administrator & programmer,
> Symbol-Plus Publishing Ltd.
> phone: +7 (812) 324-53-53
> www.books.ru, www.symbol.ru
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Francis Fillion, BAA SI
Broadcasting live from his linux box.
And the maintainer of http://www.windplanet.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]