Re: XSLT module bugs (?)
| From: | Francis Fillion | Date: | Thu, 19 Jul 2001 13:43:37 +0000 |
| Subject: | Re: XSLT module bugs (?) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58684@lists.php.net to get a copy of this message | ||
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:max.derkachev@books.ru
> 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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Francis Fillion, BAA SI
Broadcasting live from his linux box.
And the maintainer of http://www.windplanet.com