Push the Exhibit Button to load the referenced "XML Document," and process XML using "DOM Processing".
[XML Document]
Select which of the following is the most appropriate expression of the results under XML 1.0.
[DOM Processing]
Process XML using the following method.
Document output = updateXML( doc );
The variable doc here references the Document instance of the loaded XML Document.
Assume no execution errors.
Answer : D
Push the Exhibit Button to load the referenced "XML Document," and process XML using "DOM Processing".
Select 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.
[DOM Processing]
Process XML using the following method.
Document output = updateXML( doc );
The variable doc here references the Document instance of the loaded XML Document.
The DOM parser is namespace aware.
Assume no execution errors.
Answer : C
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
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
Under the SAX specification, which of the following is a method for determining whether to validate a document with the SAX parser?
Answer : A
Use DOM programming to create XML according to the schema defined by NewsML (portions modified for this question). Push the Exhibit Button to load the referenced "XML Document".
[XML Document]
Load the "XML Document" and update the XML according to the method shown by "DOM Processing". Select which of the following correctly describes the results of performing a validation check on the created XML against the schema ("DTD" and "article.dtd"). Assume that "article.dtd" can be parsed normally during validation. The existence of a document type declaration during validation is not reflected.
[DOM Processing]
Create XML using the following method.
Document output = createXML( doc );
The variable doc here references the Document instance of the loaded XML Document.
Assume no execution errors.
Answer : A
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.
Answer : B