Exam 5: Working With Xslt and Xpath

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A collection of nodes is called a(n) _____.

(Short Answer)
4.9/5
(42)

In the process of creating the HTML file, the XSLT processor uses HTML tags to create a(n) _____, which is composed of the element, attribute, text, and other nodes.

(Short Answer)
4.8/5
(28)

Most locations are written using relative paths in which the location path starts from a particular node (not necessarily the root node) called the _____ node.

(Short Answer)
4.7/5
(38)

  In the sort instruction shown in the accompanying figure, _____ is an XPath expression that returns a set of nodes. In the sort instruction shown in the accompanying figure, _____ is an XPath expression that returns a set of nodes.

(Multiple Choice)
4.8/5
(36)

The result of the transformation of the source document appears in a(n) _____ document.

(Short Answer)
4.7/5
(25)

Attributes can also be included in a location path using the XPath expression: _____ @attribute .

(Multiple Choice)
4.8/5
(40)

The xsl:otherwise element is applied when no conditions are satisfied.

(True/False)
4.9/5
(33)

The relative path .. refers to the parent of the context node.

(True/False)
4.8/5
(43)

    Hue is developing an XSLT style sheet to display data from a research survey. The structure of the surveys.xml file is shown in the accompanying figure. She comes to you for assistance in preparing the final file. -Hue has created an XSLT style sheet named survey.xsl . She would like to link this style sheet to her XML source document. Which of the following do you tell her shows the correct form of the processing instruction she should use?   Hue is developing an XSLT style sheet to display data from a research survey. The structure of the surveys.xml file is shown in the accompanying figure. She comes to you for assistance in preparing the final file. -Hue has created an XSLT style sheet named survey.xsl . She would like to link this style sheet to her XML source document. Which of the following do you tell her shows the correct form of the processing instruction she should use?

(Multiple Choice)
4.8/5
(31)

The _____ attribute of the output element specifies whether the output should be indented to better display its structure.

(Multiple Choice)
4.8/5
(38)

The _____ template defines styles for the source document's root node.

(Multiple Choice)
4.9/5
(39)

When the _____ attribute is omitted the apply-templates instruction automatically processes all of the children of the context node, including any text nodes.

(Multiple Choice)
4.9/5
(32)

An XSLT _____ is an XML document used to transform the contents of the source document into a new format, which appears in the result document.

(Short Answer)
4.9/5
(36)

  In the node tree shown in the accompanying figure, date is a(n) _____ node of stock. In the node tree shown in the accompanying figure, "date" is a(n) _____ node of "stock."

(Multiple Choice)
4.8/5
(41)

Any node found at a level below another node is referred to as a(n) sibling of that node.

(True/False)
4.7/5
(37)

    Hue is developing an XSLT style sheet to display data from a research survey. The structure of the surveys.xml file is shown in the accompanying figure. She comes to you for assistance in preparing the final file. -Hue would like to define a location path that matches both the surveyID and staffID elements nested within the survey element. Which of the following templates do you tell her properly matches both elements?   Hue is developing an XSLT style sheet to display data from a research survey. The structure of the surveys.xml file is shown in the accompanying figure. She comes to you for assistance in preparing the final file. -Hue would like to define a location path that matches both the surveyID and staffID elements nested within the survey element. Which of the following templates do you tell her properly matches both elements?

(Multiple Choice)
5.0/5
(36)

The _____ comparison operator combines two expressions, returning a value of true only if both expressions are true.

(Multiple Choice)
4.9/5
(41)

The fundamental template in the XSLT style sheet is the _____ template, which defines styles for the source document's root node.

(Multiple Choice)
4.9/5
(46)
Identify the letter of the choice that best matches the phrase or definition.
An open source standalone processor supporting XSLT 2.0
Root node
Language used to access and navigate the contents of an XML data tree
Ancestor node
Node at the top of a branch
Literal result elements
Correct Answer:
Verified
Premises:
Responses:
An open source standalone processor supporting XSLT 2.0
Root node
Language used to access and navigate the contents of an XML data tree
Ancestor node
Node at the top of a branch
Literal result elements
Node at the top of the node tree
XSLT processor
Tells an application what type of content a file contains
Saxon
Used to transform the contents of the source document into a new format
XML
Default file output format of an XSLT processor
XML declaration
First part of an XSLT document
XPath
Any elements that are sent directly to the result document as raw text
XML fragment
Contains only part of a full XML document
meta element
(Matching)
4.8/5
(36)

The _____ attribute of the output element defines the output format.

(Multiple Choice)
4.9/5
(34)
Showing 21 - 40 of 91
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)