- From: <bugzilla@jessica.w3.org>
- Date: Wed, 02 Apr 2014 02:47:11 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25225
Bug ID: 25225
Summary: No way to convert between XML and HTML documents
Product: WHATWG
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DOM Parsing and Serialization
Assignee: Ms2ger@gmail.com
Reporter: w3@cscott.net
QA Contact: sideshowbarker+domparsingspec@gmail.com
CC: mike@w3.org, public-webapps-bugzilla@w3.org,
www-dom@w3.org
outerHTML on an XML document is defined as an XML serialization, and outerHTML
on an HTML document is defined as an HTML serialization.
You can use the XMLSerializer interface to get an XML serialization of an HTML
document, but there is no equivalent way to get an HTML serialization of an XML
document.
Additionally/alternatively, it would be nice if you could just clone an XML
document from an HTML document and vice-versa, without having to go through a
string serialization.
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 2 April 2014 02:47:13 UTC