Exam 7: Creating Element Groups

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

The general syntax of a step pattern is _____.

(Multiple Choice)
4.8/5
(35)

The _____ step to employ Muenchian grouping is to create a key for the element or attribute that you want to group using the key element.

(Multiple Choice)
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 that moves up the node tree from the context node, selecting all of the elements that are order elements for the customer with the ID jbrown2738. 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 that moves up the node tree from the context node, selecting all of the elements that are order elements for the customer with the ID jbrown2738. Which of the following do you tell her is the correct expression?

(Multiple Choice)
4.8/5
(41)

The first step in using extensions is to define an extension's namespace within the root element.

(True/False)
4.9/5
(33)

You can use the _____ function to create global variables that reference the root nodes of external documents.

(Short Answer)
4.7/5
(37)

  -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 D? -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 D?

(Multiple Choice)
4.9/5
(33)

Keys are declared in the _____.

(Multiple Choice)
4.9/5
(34)

To generate an ID that identifies a specific node or node set within the source document, XPath provides the _____ function.

(Multiple Choice)
4.8/5
(34)

The step pattern axis value _____ selects all nodes that appear before the context node in the source document, excluding the context node's own ancestors.

(Short Answer)
4.8/5
(32)

In a predicate, the expressions are resolved relative to the context node.

(True/False)
4.8/5
(32)

Provide an overview of the three key steps involved in employing Muenchian grouping.

(Essay)
4.9/5
(35)

Many XSLT processors support extension _____ that extend the data types associated with XSLT attributes.

(Multiple Choice)
4.9/5
(31)

The _____ step to employ Muenchian grouping is to add the following expression to the select attribute of a for-each or an apply-templates element: node set[generate-id() =generate-id(key(name,expression) [1]) ] .

(Multiple Choice)
4.9/5
(42)

In addition to extension functions, you can also use extension elements and _____ in your style sheets.

(Short Answer)
4.9/5
(35)

  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 precinctNames key has been declared, Craig would like to use it to return a count of all votes from the precinct of Ceylon. Which of the following functions do you suggest he use to do this? 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 precinctNames key has been declared, Craig would like to use it to return a count of all votes from the precinct of Ceylon. Which of the following functions do you suggest he use to do this?

(Multiple Choice)
4.9/5
(47)

The _____ is an index based on a node specified in the match attribute using the values from a node specified in the use attribute.

(Short Answer)
4.8/5
(34)

One useful tool for debugging a style sheet is the XSLT 1.0 _____ element.

(Multiple Choice)
4.8/5
(43)

The syntax for declaring a required ID attribute is _____.

(Multiple Choice)
4.9/5
(45)

The key() function cannot be used with data from external documents.

(True/False)
4.8/5
(35)

  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 create a node set of all the items elements. 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 create a node set of all the items elements. Which of the following do you tell her is the correct expression?

(Multiple Choice)
4.8/5
(35)
Showing 61 - 80 of 91
close modal

Filters

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