dojox.data.dom.createDocument
dojo.require("dojox.data.dom");
defined in dojox/data/dom.js
cross-browser implementation of creating an XML document object.
parameter | type | description |
---|---|---|
str | String | Optional. Optional text to create the document from. If not provided, an empty XML document will be created. |
mimetype | String | Optional. Optional mimetype of the text. Typically, this is text/xml. Will be defaulted to text/xml if not provided. |