XML I10-002 XML Master Professional Application Developer Exam Practice Test

Page: 1 / 14
Total 80 questions
Question 1

When processing the following "XML Document" according to the method shown by "DOM Processing," which of the following correctly describes the output results (print method output)?



Answer : E


Question 2

When processing the following "XML Document" according to the method shown by "SAX Processing," which of the following correctly describes the output results (print method output)?



Answer : C


Question 3

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.



Answer : D


Question 4

Push the Exhibit Button to load the referenced "XML Document". When processing the "XML Document" according to the method shown by "SAX Processing," which of the following correctly describes the output results (print and/or println method output)?

[XML Document]

2004-07-01

2004-07-01 09:00

Helen Edwards

2004-07-01 13:00

John Smith

Assume that the processed XML Document has no indents (ignorable white space such as line feeds, tabs, etc.).

[SAX Processing]

Use the following "ContentHandlerImpl" class, and parse the XML Document using SAX.

The SAX parser is namespace aware.

Assume no execution errors.



Answer : B


Question 5

Push the Exhibit Button to load the referenced "XML Document". When processing the "XML Document" according to the method shown by "SAX Processing," which of the following correctly describes the output results (println method output)?

Assume that the processed XML Document has no indents (ignorable white space such as line feeds, tabs, etc.). [SAX Processing] Use the following "ContentHandlerImpl" class, and parse the XML Document using SAX. The SAX parser is namespace aware. Assume no execution errors.



Answer : C


Question 6

Which of the following is incorrect with respect to XML?



Answer : C


Question 7

Push the Exhibit Button to load the referenced "XSLT Style Sheet". Select which of the following correctly describes the output results of an XSLT transformation of the "XML Document" using the "XSLT Style Sheet".

[XSLT Style Sheet]

Note that the XSLT processor can output transformation results as a document. Line feeds and indents are not reflected.

[XML Document]

89

70



Answer : B


Page:    1 / 14   
Total 80 questions