[prev in list] [next in list] [prev in thread] [next in thread] 

List:       htmlunit-develop
Subject:    [HtmlUnit] [ htmlunit-Feature Requests-3512479 ] Extra control for DomNode.asXml() pretty printing
From:       SourceForge.net <noreply () sourceforge ! net>
Date:       2012-03-28 17:31:43
Message-ID: E1SCwim-0006Av-Rb () sfs-ml-1 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Feature Requests item #3512479, was opened at 2012-03-28 10:31
Message generated for change (Tracker Item Submitted) made by kirillyz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=448269&aid=3512479&group_id=47038

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: xEviL (kirillyz)
Assigned to: Nobody/Anonymous (nobody)
Summary: Extra control for DomNode.asXml() pretty printing

Initial Comment:
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. &nbsp; in the original document ends up \
as " " (char #160) in the one obtained via .asXml()

What is wanted is functionalty like dom4j's HTMLWriter

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=448269&aid=3512479&group_id=47038

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
HtmlUnit-develop mailing list
HtmlUnit-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic