Exam 6: Working With Xslt Functional Programming

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

Which of the following shows the correct syntax of the function used to test for the existence of an XML document?

(Multiple Choice)
4.9/5
(29)

Which of the following expressions can be used to display the value of the active node?

(Multiple Choice)
4.8/5
(37)

Which of the following shows the correct result of the substring-after function: substring-after("2017-10-05", "-") ?

(Multiple Choice)
4.8/5
(39)

The expression format-number(-238.2, '#,##0.0;(#,##0.0) ') displays the value -238.2 as _____.

(Multiple Choice)
4.8/5
(30)

List the three possible ways of accessing data from multiple source documents within an XSLT style sheet.

(Essay)
4.9/5
(42)

If you place the _____ element at the end of your style sheet it will have precedence over the active style sheet.

(Short Answer)
4.7/5
(40)

The copy element under XSLT 2.0 also supports the inherit-namespace attribute.

(True/False)
4.8/5
(39)

_____ is the process by which a function calls itself.

(Multiple Choice)
4.8/5
(42)

The copy-of element is similar to the copy element, as both create a deep copy of a node set.

(True/False)
5.0/5
(33)

_____ programming relies on the evaluation of functions and expressions, rather than on the sequential execution of commands.

(Multiple Choice)
4.9/5
(40)

   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 contains a change of state that occurs when the base case has not been reached. In the drawImages template, you explain to her that the change of state is represented by the code _____.  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 contains a change of state that occurs when the base case has not been reached. In the drawImages template, you explain to her that the change of state is represented by the code _____.

(Multiple Choice)
5.0/5
(32)

White space nodes are nodes that contain only white space characters such as _____.

(Multiple Choice)
4.8/5
(33)

An important task is to combine, or _____, two or more text strings into a single text string.

(Short Answer)
4.9/5
(37)

If the expression is a number or Boolean value, the _____ element converts the expression to a text string and the text is output to the result document.

(Multiple Choice)
4.7/5
(35)

Variables are accessed using the reference @name where name is the variable name.

(True/False)
4.9/5
(32)

The _____ keyword is used to divide one numeric value by another.

(Short Answer)
4.8/5
(40)

The number format symbol _____ is a placeholder that displays an optional number of digits in the formatted number and is usually used as the far left symbol in the number format.

(Multiple Choice)
4.8/5
(36)

Define the term scope, and describe the role of scope in the creation of XSLT style sheets, including an explanation the implication of a variable's possible scope.

(Essay)
4.8/5
(34)

XSLT variables act more like constants because the value of an XSLT variable can only be defined once and it cannot be further updated.

(True/False)
4.8/5
(46)

If you place the include element at the beginning of your style sheet it will have precedence over the active style sheet.

(True/False)
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)