开发者

PHP DomDocument Save XML with HTML

How would I save an XML file opened with DomDocument so that the HTML inside won't be encoded into HTML en开发者_如何转开发tities?


I'd say, read through it however you normally are going to, then use html-entity-decode()

http://www.php.net/manual/en/function.html-entity-decode.php

in whatever you are using to write it back out as xml.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜