問題1
Push the Exhibit Button to load the referenced "XML Document". Select which of the following correctly describes the output results of an XSLT transformation of the "XML Document" using the "XSLT Style Sheet".
[XML Document]
<root><data>lmnop</data></root>
Note that the XSLT processor can output transformation results as a document. Line feeds and indents are not reflected.

Push the Exhibit Button to load the referenced "XML Document". Select which of the following correctly describes the output results of an XSLT transformation of the "XML Document" using the "XSLT Style Sheet".
[XML Document]
<root><data>lmnop</data></root>
Note that the XSLT processor can output transformation results as a document. Line feeds and indents are not reflected.

正確答案: B
問題2
Select which of the following correctly describes the output results of an XSLT transformation of the following "XML Document" using the "XSLT Style Sheet". Note that the XSLT processor can output transformation results as a document.

Select which of the following correctly describes the output results of an XSLT transformation of the following "XML Document" using the "XSLT Style Sheet". Note that the XSLT processor can output transformation results as a document.

正確答案: A
問題3
Select which of the following correctly describes the results of performing a validation check on "XML Document". Assume that the XML parser correctly processes the XML schema schema Location attribute.

Select which of the following correctly describes the results of performing a validation check on "XML Document". Assume that the XML parser correctly processes the XML schema schema Location attribute.

正確答案: A
問題4
Select a valid XML Document against the "XML Schema" referenced when the Exhibit Button is pushed.
[XML Schema]
<Missing>
Select a valid XML Document against the "XML Schema" referenced when the Exhibit Button is pushed.
[XML Schema]
<Missing>
正確答案: A
問題5
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]
<NewsML>
<NewsItem>
<ContentItem>
<DataContent></DataContent>
</ContentItem>
</NewsItem>
</NewsML>
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.
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]
<NewsML>
<NewsItem>
<ContentItem>
<DataContent></DataContent>
</ContentItem>
</NewsItem>
</NewsML>
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.
正確答案: B
問題6
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.). Although the expected processing result is choice "A", processing may not occur as expected. [SAX Processing] Use the following "ContentHandlerImpl" class, and parse the XML Document using SAX. The SAX parser is namespace aware. Assume no execution errors.

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.). Although the expected processing result is choice "A", processing may not occur as expected. [SAX Processing] Use the following "ContentHandlerImpl" class, and parse the XML Document using SAX. The SAX parser is namespace aware. Assume no execution errors.

正確答案: C
問題7
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.
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.
正確答案: B
問題8
Push the Exhibit Button to load the referenced "XML document".
[XML Document]
<root><data>lmnop</data></root>
Assume that the "XML Document" is changed to the "Results XML Document." Select which XSLT style sheet correctly performs the transformation. Note that the XSLT processor can output transformation results as a document.
[Results XML Document]
<ZZZ><YYY>lmnop</YYY></ZZZ>
Push the Exhibit Button to load the referenced "XML document".
[XML Document]
<root><data>lmnop</data></root>
Assume that the "XML Document" is changed to the "Results XML Document." Select which XSLT style sheet correctly performs the transformation. Note that the XSLT processor can output transformation results as a document.
[Results XML Document]
<ZZZ><YYY>lmnop</YYY></ZZZ>
正確答案: C