Exam 6: Working With Xslt Functional Programming
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
Do not use the entity to generate white space, even if you are generating HTML code, because that entity will not be recognized by the XSLT processor.
Free
(True/False)
4.9/5
(35)
Correct Answer:
True
The number format symbol _____ separates the integer digits from the fractional digits.
Free
(Multiple Choice)
4.9/5
(37)
Correct Answer:
A
The _____ function returns the current node being processed.
Free
(Short Answer)
4.8/5
(41)
Correct Answer:
current()
George is developing an XSLT style sheet to display data from research surveys. The structure of the surveys.xml file is shown in the accompanying figure. He comes to you for assistance in preparing the final file.
-The response attribute of the question element in George's surveys.xml file can contain paragraphs of text. Which of the following shows the code George could use to insure any white space in the response does not get stripped out when the final file is displayed?

(Multiple Choice)
4.8/5
(37)
The _____ element creates a variable as a user-defined name that stores a value or an object.
(Short Answer)
4.9/5
(44)
Many of the XPath functions work with sections of text strings called _____.
(Short Answer)
4.8/5
(36)
George is developing an XSLT style sheet to display data from research surveys. The structure of the surveys.xml file is shown in the accompanying figure. He comes to you for assistance in preparing the final file.
-George was able to successfully access the functions in the surveyfunctions.xsl file from his new style sheet. However, he is having difficulty getting the functions to work. In looking over his code, you remind him that a function in a named template has to be _____ to be used.

(Multiple Choice)
4.8/5
(33)
When using the document() function, you must enter the URI for a path on the local machine prefaced with _____, and any spaces or special characters must be replaced with escape codes.
(Multiple Choice)
4.8/5
(41)
The _____ element includes the contents of an external style sheet file in the current style sheet.
(Short Answer)
5.0/5
(31)
Many of the XPath functions work with sections of text strings called _____.
(Multiple Choice)
4.8/5
(31)
Named templates can be used to store variable values by having the last action of the template use the value-of element to set the variable value.
(True/False)
4.8/5
(35)
Helena is studying functional programming, using the drawImages template shown in the accompanying figure as an example. She comes to you for help in learning the key features of functional programming.
-Helena has heard that every recursive function function must call itself employing the change of state. In the drawImages template, you explain to her that this call is represented by the code _____.

(Multiple Choice)
4.7/5
(37)
Which of the following shows the correct result of the substring-before function: substring-before("2017-10-05", "-") ?
(Multiple Choice)
4.8/5
(29)
A(n) recursive template is a template that is not matched to a node set but instead acts like a function to display a calculated value or perform an operation.
(True/False)
4.9/5
(38)
George is developing an XSLT style sheet to display data from research surveys. The structure of the surveys.xml file is shown in the accompanying figure. He comes to you for assistance in preparing the final file.
-One of George's research associates has created a style sheet named surveyfunctions.xsl containing functions that will be used in displaying the survey data. Which of the following shows the correct code George should enter in his new style sheet to allow him to use the functions in the surveyfunctions.xsl file?

(Multiple Choice)
4.9/5
(37)
If you are concerned about name conflicts and want the active style sheet to always have precedence over the external sheet, always use the _____ element.
(Multiple Choice)
4.9/5
(36)
To set the value of a template parameter, use the _____ element.
(Multiple Choice)
4.7/5
(24)
Which of the following shows the correct result of the substring function: substring("Harpe Gaming Store", 7, 6) ?
(Multiple Choice)
4.8/5
(42)
Which of the following shows the correct result of the nested substring functions: substring-before(substring-after("2017-10-05", "-") , "-") ?
(Multiple Choice)
4.8/5
(34)
The _____ function is an XSLT 1.0 function used to access the contents of an external XML file.
(Short Answer)
4.8/5
(31)
Showing 1 - 20 of 91
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)