Exam 7: Creating Element Groups

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

You can have your processor test whether it supports a particular extension function using the _____ function.

(Multiple Choice)
4.9/5
(36)

When an XSLT processor encounters two templates with the same name, it uses the last one defined in the style sheet.

(True/False)
4.8/5
(32)

The key value itself does not have to be entered explicitly; it can also be inserted as a(n) _____ to a node in the source document.

(Multiple Choice)
4.8/5
(46)

The _____ function returns a node set based on IDs defined in the document's DTD.

(Short Answer)
4.8/5
(34)

Keys are not limited to valid _____ names and thus can be based on commonly used IDs, such as Social Security numbers.

(Short Answer)
4.8/5
(35)

To create a key, add the key element at the top level of the style sheet as a child of the _____ element.

(Multiple Choice)
4.8/5
(45)

IDs can be associated only with elements .

(True/False)
4.7/5
(30)

ID attributes must be valid XML names and, therefore, they cannot contain _____ or begin with numbers.

(Multiple Choice)
4.7/5
(39)

_____ is a programming technique in which nodes are grouped based on unique values taken from a key index matched to unique IDs created by the generate-id() function.

(Short Answer)
4.9/5
(42)

The _____ attribute tells the XSLT processor which prefixes to regard as prefixes for extensions.

(Multiple Choice)
4.7/5
(38)

The _____ attribute provides a way to uniquely identify a particular item in the source document.

(Multiple Choice)
4.9/5
(33)

  Craig is working to develop an XSLT application to display election results, using XML files with the structures shown in the accompanying figure. He has heard that you have experience developing applications, and comes to you for guidance. -Now that the candidatesDoc variable has been created, Craig would like to define a key named cKey based on the values of the candidateID attribute for the candidate. Which of the following do you tell him shows the correct syntax to use to define this key? Craig is working to develop an XSLT application to display election results, using XML files with the structures shown in the accompanying figure. He has heard that you have experience developing applications, and comes to you for guidance. -Now that the candidatesDoc variable has been created, Craig would like to define a key named cKey based on the values of the candidateID attribute for the candidate. Which of the following do you tell him shows the correct syntax to use to define this key?

(Multiple Choice)
4.9/5
(39)

_____ is the processor used by Internet Explorer.

(Multiple Choice)
4.9/5
(30)

To reverse a node set, you use the XPath reverse() function.

(True/False)
4.9/5
(44)

  -The accompanying figure shows a sample node set, with the context node shaded blue. In each image, the objects in the node set that are selected by a specific step pattern axis value are numbered and shaded in red. Which axis value is represented by image G? -The accompanying figure shows a sample node set, with the context node shaded blue. In each image, the objects in the node set that are selected by a specific step pattern axis value are numbered and shaded in red. Which axis value is represented by image G?

(Multiple Choice)
4.8/5
(35)

The _____ provides an expression that the node value should match.

(Short Answer)
4.8/5
(34)

When two templates can be applied to the same node set, you distinguish them by adding the _____ attribute within the <xsl:template> tag.

(Multiple Choice)
4.8/5
(30)

Keys are declared in the style sheet, not in the DTD of the source document.

(True/False)
4.8/5
(38)

Keys can be thought of as generalized IDs, without their limitations.

(True/False)
4.8/5
(39)

  Sandra is working with an XML file containing product orders with the structure shown in the accompanying figure. She was just introduced to step patterns, and would like to incorporate them into the style sheet she is developing to display the orders data. She comes to you for help in developing expressions incorporating step patterns. -Sandra would like to write an expression to show only those orders that have a preceding sibling containing the same orderDate . Which of the following do you tell her is the correct expression? Sandra is working with an XML file containing product orders with the structure shown in the accompanying figure. She was just introduced to step patterns, and would like to incorporate them into the style sheet she is developing to display the orders data. She comes to you for help in developing expressions incorporating step patterns. -Sandra would like to write an expression to show only those orders that have a preceding sibling containing the same orderDate . Which of the following do you tell her is the correct expression?

(Multiple Choice)
4.8/5
(30)
Showing 41 - 60 of 91
close modal

Filters

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