Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojox/xml/parser.js

  • Provides:

    • dojox.xml.parser
  • dojox.xml.parser.parse

    • parameters:
      • str: (typeof String)
        Optional text to create the document from.  If not provided, an empty XML document will be created.
        If str is empty string "", then a new empty document will be created.
      • mimetype: (typeof String)
        Optional mimetype of the text.  Typically, this is text/xml.  Will be defaulted to text/xml if not provided.
    • returns
      DOMDocument|null
    • summary
      cross-browser implementation of creating an XML document object from null, empty string, and XML text..
    • type
      Function
  • dojo.doc

    • alias - dojo.doc
    • type
      Object
  • dojox.xml.parser.textContent

    • parameters:
      • node: (typeof Node)
        The node to get the text off of or set the text on.
      • text: (typeof String)
        Optional argument of the text to apply to the node.
    • returns
      String
    • summary
      Implementation of the DOM Level 3 attribute; scan node for text
    • description
      Implementation of the DOM Level 3 attribute; scan node for text
      This function can also update the text of a node by replacing all child
      content of the node.
    • type
      Function
  • node.ownerDocument

    • type
      Object
  • dojox.xml.parser.replaceChildren

    • parameters:
      • node: (typeof Element)
        The node to modify the children on
      • newChildren: (typeof Node)
        The children to add to the node.  It can either be a single Node or an
        array of Nodes.
    • summary
      Removes all children of node and appends newChild. All the existing
      children will be destroyed.
    • description
      Removes all children of node and appends newChild. All the existing
      children will be destroyed.
    • type
      Function
  • dojox.xml.parser.removeChildren

    • parameters:
      • node: (typeof Element)
        The node to remove all the children from.
    • returns
      int
    • summary
      removes all children from node and returns the count of children removed.
      The children nodes are not destroyed. Be sure to call dojo.destroy on them
      after they are not used anymore.
    • type
      Function
  • dojox.xml.parser.innerXML

    • parameters:
      • node: (typeof Node)
        The node from which to generate the XML text representation.
    • returns
      String
    • summary
      Implementation of MS's innerXML function.
    • type
      Function
  • dojox.xml.parser

    • type
      Object
  • dojox.xml

    • type
      Object
  • dojox

    • type
      Object