nerdexam
Python_Institute

PCPP-32-101 · Question #86

Select the true statements about XML modules in the Python standard library. (Choose two.)

The correct answer is B. SAX is an interface for event-driven XML document analysis. D. The xml.etree.ElementTree and xml.dom.minidom modules parse an XML document into a DOM. SAX provides an event-driven interface for XML parsing. xml.etree.ElementTree and xml.dom.minidom parse XML documents into DOM-like tree

Working with Files

Question

Select the true statements about XML modules in the Python standard library. (Choose two.)

Options

  • ASAX is an acronym for "Simple API for XML".
  • BSAX is an interface for event-driven XML document analysis.
  • CThe xml.sax module Is the minimum implementation of the Document Object Model (DOM).
  • DThe xml.etree.ElementTree and xml.dom.minidom modules parse an XML document into a DOM.

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    88% (28)
  • C
    9% (3)

Explanation

SAX provides an event-driven interface for XML parsing. xml.etree.ElementTree and xml.dom.minidom parse XML documents into DOM-like tree

Topics

#xml.sax#SAX parser#DOM#xml.etree.ElementTree

Community Discussion

No community discussion yet for this question.

Full PCPP-32-101 Practice