XMLSerializer object
[This documentation is preliminary and is subject to change.]
Provides a method to convert nodes in a Document Object Model (DOM) tree to an XML string.
![]() |
Standards information
There are no standards that apply here.
Remarks
Do the following to create an instance:
oXMLSerializer = new XMLSerializer();
Build date: 2/14/2012
DOMParser and XMLSerializer
There's another side to this equation. Whereas serializeToString creates a string representation of the DOM hierarchy, the parseFromString method of DOMParser reverses the process. Read more about these methods here:
http://blogs.msdn.com/b/ie/archive/2010/10/15/domparser-and-xmlserializer-in-ie9-beta.aspx
- 10/22/2010
- John Sudds [Microsoft]
