Question 26
Which of the following correctly describes the DOM (Level 2) Node interface?
Question 27
Push the Exhibit Button to load the referenced "XML Document". When processing the "XML Document" according to the method shown by "DOM Processing," which of the following is the most appropriate expression of the results under XML 1.0? Line feeds and/or indents are not reflected in the results.
[XML Document]
2004-07-01
2004-07-01 09:00
WAITING
Although the expected processing result is choice "D", processing may not occur as expected.
[DOM Processing]
Process XML using the following method.
Document output = createXML( doc, impl );
The variable doc here references the Document instance of the loaded XML Document.
The variable impl here references the DOMImplementation instance.
The DOM parser is namespace aware.
Assume no execution errors.
[XML Document]
2004-07-01
2004-07-01 09:00
WAITING
Although the expected processing result is choice "D", processing may not occur as expected.
[DOM Processing]
Process XML using the following method.
Document output = createXML( doc, impl );
The variable doc here references the Document instance of the loaded XML Document.
The variable impl here references the DOMImplementation instance.
The DOM parser is namespace aware.
Assume no execution errors.
Question 28
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.