I10-002 I10-002 I10-002

I10-002 I10-002 I10-002 www.it-pruefungen.ch

Prüfungsnummer : I10-002

Prüfungsname:XML Master: Professional V2

Version : Demo

QUESTION NO: 1
Which of the following correctly describes the DOM (Level 2) Node interface?
A. The Node interface can be used to change the value (nodeValue) of the DOM element node(Element)
B. The Node interface can be used to change the name (nodeName) of the DOM element node(Element)
C. The Node interface can be used to change the value (nodeValue) of the DOM attribute node(Attr)
D. The Node interface can be used to change the name (nodeName) of the DOM attribute node(Attr)

Answer: C

I10-002 I10-002 I10-002 www.it-pruefungen.ch

QUESTION NO: 2
Select the following DOM (Level 2) methods that can add an attribute node (Attr) to an element node (Element). (Multiple answers possible. Select two.)
A. appendChild
B. hasAttribute
C. setAttribute
D. setAttributeNode

Answer: C,D

I10-002 I10-002 I10-002 www.it-pruefungen.ch

QUESTION NO: 3
Which of the following describes the most correct call order of the ContentHandler interface methods when parsing the following “XML Document” using a validating SAX parser?
This question reflects line feeds within the XML Document.

A. startDocument – startElement – ignorableWhitespace – startElement – characters – endElement -ignorableWhitespace -endElement – endDocument
B. startDocument – startElement – characters – startElement – characters – endElement -characters – endElement -endDocument
C. startDocument – startElement – startElement – characters – endElement – endElement -endDocument
D. startDocument – startElement – startElement – characters – endElement – ignorableWhitespace -endElement -endDocument

Answer: B

I10-002 I10-002 I10-002 www.it-pruefungen.ch

Hinterlasse eine Antwort