There is a string in the xml document:

<bMS>sss1&amp;sss2</bMS> 

I have three different lines at the output:

 sss1 &amp sss2 

But I would like one of this kind:

 sss1 & sss2 

Why is this?

  • What parsit then? - teran
  • xml_set_default_handler ($ xml_parser, "trt_champ"); there are already three lines at the input of "trt_champ" (in php there is almost a complete layman, the code is not mine, but it’s necessary to work ..) - Svetlana
  • and what trt_champ() in your trt_champ() ? - teran
  • I mean, give a specific example of code that causes this behavior so that it can be reproduced. - teran
  • Parse right. In php at least I met three parsers. Give the code, library, version of the library and php. - nick_n_a

0