Exam 7: Creating Element Groups
Exam 1: Creating an Xml Document91 Questions
Exam 2: Validating an Xml Document91 Questions
Exam 3: Working With Basic Schemas91 Questions
Exam 4: Working With Advanced Schemas91 Questions
Exam 5: Working With Xslt and Xpath91 Questions
Exam 6: Working With Xslt Functional Programming91 Questions
Exam 7: Creating Element Groups91 Questions
Exam 8: Combining Xml and Php91 Questions
Exam 9: Working With Xml and Databases91 Questions
Select questions type
-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 J?

Free
(Multiple Choice)
4.9/5
(52)
Correct Answer:
A
The following expression uses a _____ key() function to return the count of all property elements from the city of Longmont: count(key("cityNames", "Longmont") ) .
Free
(Multiple Choice)
4.9/5
(36)
Correct Answer:
C
In XPath 1.0, you cannot use the document() function or variables in a key element's _____ attribute.
Free
(Multiple Choice)
4.8/5
(41)
Correct Answer:
C
The _____ function returns a node-set that matches a specified value from a key index.
(Short Answer)
4.7/5
(35)
Ancestor nodes have the same relation to parent nodes that _____ nodes have to child nodes.
(Short Answer)
4.8/5
(40)
Traditional IDs, such as Social Security numbers or ISBNs, are commonly declared as ID attributes in DTDs.
(True/False)
4.8/5
(32)
Many XSLT processors support _____ functions that extend the list of functions available to XPath and XSLT expressions.
(Short Answer)
4.9/5
(34)
The default value for the axis portion of the step pattern is self .
(True/False)
4.8/5
(33)
Keys have _____ as well as values, allowing the style sheet author to create multiple distinct keys rather than rely on a single index.
(Multiple Choice)
4.8/5
(32)
If you designate one node set as $n1 and the other as $n2 , the expression: generate-id($n1) = generate-id($n2) returns a value of _____ if the node set referenced by $n1 is the same as the node set referenced by $n2 .
(Multiple Choice)
4.8/5
(45)
The _____ function returns a node-set that matches a specified value from a key index.
(Multiple Choice)
4.9/5
(34)
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.
-Craig would like to add a key named precinctNames based on each votes element's precinct name. Which of the following elements do you recommend he add to the style sheet to create the key with the correct syntax?

(Multiple Choice)
4.8/5
(39)
The expression to select the first property element from the city of Longmont is _____.
(Multiple Choice)
4.7/5
(43)
Generated IDs are useful when the link has to reference an external page or website, but not for hypertext links within a single page.
(True/False)
4.9/5
(37)
If you find it difficult to work with recursive templates, you can instead create loops in Saxon using the _____ extension.
(Multiple Choice)
4.7/5
(43)
In a step pattern, the _____ specifies the direction in which the processor should move through the node tree.
(Multiple Choice)
4.9/5
(39)
Templates with no mode attribute are applied to the specified node set.
(True/False)
4.8/5
(38)
In a step pattern, to go in a different direction from the context node you change the node-test value.
(True/False)
5.0/5
(41)
If you want to use keys with an external document, you have to first change the _____ node so that it points to a location path within that document.
(Multiple Choice)
4.8/5
(32)
The XML processor creates a(n) _____ that matches each element to a specific ID.
(Multiple Choice)
4.8/5
(31)
Showing 1 - 20 of 91
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)