Process the following "XML Document" according to the method shown by "DOM Processing," and output "article" (by print method). Select which of the following correctly describes what should be in (1) for "DOM Processing"
A. content.getText()
B. content.getNodeValue()
C. content.getChildNode().getNodeValue()
D. content.getFirstChild().getNodeValue()
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]
A.
[exam.xsl]
match="//root">
B.
C.
D.
Push the Exhibit Button to load the referenced "XML Document".
Assume that the character "3" is obtained from the "XML document". Select which XSLT style sheet correctly performs the transformation. (Multiple answers possible. Select two.)
A.
B.
C.
D.
Push the Exhibit Button to load the referenced "testml.xsd".
Assume that "testml.xsd" is defined. Without rewriting this XML Schema Document ("testml.xsd"), create a new, separate XML Schema Document to partially change the schema definition to write a cellPhone element as a child element of the person element. As a result, the following "XML Document" will be valid against the new schema. Which of the following correctly describes the new XML Schema Document? Assume the XML parser correctly processes the XML schema schemaLocation attribute.
A. Option A
B. Option B
C. Option C
D. Option D
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 schemaLocation attribute.
A. Valid
B. The coding for the XML Schema Document is not appropriate; therefore, an error is thrown (initial error) whenprocesing the "testml.xsd" import element
C. The coding for the XML Schema Document is not appropriate; therefore, an error is thrown (initial error) whenprocesing the "testml.xsd" "
D. No processing error, but is not valid.
Which of the following correctly describes the results of normalizing the following XML Document rec element by Exclusive XML Canonicalization?
A.
B.
C.
D.
Which of the following is clearly an unnecessary step in procedures to create digital signature via XML-Signature?
A. Prepare a key for signing
B. Normalize the subject of the signature (normalization via Canonical XML, etc.)
C. Remove namespaces in the subject of the signature
D. Calculate a digest of the subject of the signature
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. Assume that the processed XML Document has no indents (ignorable white space such as line feeds, tabs, etc.).
A.
B.
C. C.
D. D.
D.
When receiving an XML document following the DTD defined by NewsML (portions modified for this question), the document is processed via SAX programming.
Push the Exhibit Button to load the referenced "DTD". 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)? Note that the attribute value is not output for this question.
A. All character data of elements can be output, ignorable white spaces are not output
B. All character data of elements can be output, and ignorable white spaces are also output
C. A portion of character data of elements cannot be output
D. No character data of elements can be output
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".
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.
A. The created XML does not include required attributes; therefore, is not valid against the schema
B. The created XML has an illegal attribute value; therefore, is not valid against the schema
C. The created XML does not follow element type declarations; therefore, is not valid against the schema
D. The created XML is valid against the schema