Menu

#207 Extra control for DomNode.asXml() pretty printing

open
nobody
None
5
2012-10-21
2012-03-28
xEviL
No

As it is in 2.9 asXml prints document or node with its child nodes recursively and:
1. Inserts an indentation that is impossible to turn off.
2. Does not process html entities back, e.g.   in the original document ends up as " " (char #160) in the one obtained via .asXml()

What is wanted is functionalty like dom4j's HTMLWriter

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.