nerdexam
Zend

200-710 · Question #177

How can a SimpleXML object be converted to a DOM object?

The correct answer is A. dom_import_simplexml(). See the full explanation below for the reasoning.

XML & Web Services

Question

How can a SimpleXML object be converted to a DOM object?

Options

  • Adom_import_simplexml()
  • Bdom_export_simplexml()
  • CSimpleXml::import_dom()
  • DSimpleXml::toDom()
  • ENone of the above.

How the community answered

(61 responses)
  • A
    75% (46)
  • B
    13% (8)
  • C
    7% (4)
  • D
    2% (1)
  • E
    3% (2)

Topics

#SimpleXML#DOM#dom_import_simplexml#object conversion

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice