DOMParser

Availability

BlackBerry Device Software version 4.7.1 or later

The DOMParser object provides the parseFromString() method, which creates an XML document from a XML string.

The BlackBerry Browser always parses the current page into a DOM document, but you can also create a DOM from an XML string that you construct, or an XML string that you retrieve from a remote location.

Methods

Method name

Description

Support level

Availability

parseFromString()

Converts a string into an XML document.

Not defined in any specification.

4.7.1 or later

Last modified: 2014-03-10



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus