August 2006
Intermediate to advanced
1018 pages
34h 13m
English
DOMParser.parseFromString( ): parse XML markup
Document parseFromString(Stringtext, StringcontentType)
text
The XML markup to parse.
contentType
The content type of the text. This may be one of “text/xml”, “application/xml”, or “application/xhtml+xml”. Note that “text/html” is not supported.
A Document object that holds the parsed representation of
text. See Document.loadXML( ) for an IE-specific
alternative to this method.
Read now
Unlock full access