Exam 6: Working With Xslt Functional Programming

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

Many editors, including the Firefox browser, do not support the _____ attribute and will instead display the text of the file, including the HTML markup tags.

(Multiple Choice)
4.7/5
(35)

XSLT is considered a functional programming language. Define functional programming, and describe at least three of the key design principles of functional programming languages.

(Essay)
4.9/5
(35)

The number format symbol _____ separates groups of digits in the number.

(Multiple Choice)
4.9/5
(43)

   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 would like to insert a blank space in the result document after the drawImages template runs. You tell her she can do this using 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 would like to insert a blank space in the result document after the drawImages template runs. You tell her she can do this using the code _____.

(Multiple Choice)
4.9/5
(28)

Which of the following shows the correct syntax of the function supported by XSLT 2.0 to retrieve non-XML data?

(Multiple Choice)
4.7/5
(34)
Identify the letter of the choice that best matches the phrase or definition.
Element that sets the value of the template parameters defined within a named template
paramters
Similar to variables except that their values can be passed to them from outside their scope
copy element
Function used to remove extraneous white space characters from the beginning or end of any text string
per-mille
Correct Answer:
Verified
Premises:
Responses:
Element that sets the value of the template parameters defined within a named template
paramters
Similar to variables except that their values can be passed to them from outside their scope
copy element
Function used to remove extraneous white space characters from the beginning or end of any text string
per-mille
Creates a shallow copy of a node set
identity template
Creates a deep copy of a node set
copy-of element
Can be referenced from anywhere within a style sheet
normalize-space()
Character used to represent numbers in parts per 1000
xsl:with-param
Often used in projects in which the same code samples need to be repeatedly written to the result document
mod operator
Provides the remainder after performing a division of one number by another
result tree fragment
Matches any kind of node in the source document and copies them to the result document
global variable
(Matching)
4.9/5
(33)

If XPath is unable to calculate a value because of an error in the style sheet, it will return the text string "NaN" (Not a Number) .

(True/False)
4.8/5
(30)

    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 source document contains data for thousands of surveys. George would like to display information for only the first six surveys. Which of the following shows the correct syntax for the predicate George should use to insure only the first six surveys are displayed?   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 source document contains data for thousands of surveys. George would like to display information for only the first six surveys. Which of the following shows the correct syntax for the predicate George should use to insure only the first six surveys are displayed?

(Multiple Choice)
4.8/5
(39)

The number format symbol _____ is a placeholder that displays required digits in the formatted number.

(Multiple Choice)
4.8/5
(39)

The identity template matches any kind of node in the source document and copies them to the result document.

(True/False)
4.8/5
(33)

    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 knows that the position() function returns the position of the node as it is displayed within the result document, not necessarily the position of the node in the source document. Which element do you suggest George use to retrieve the position values of the nodes as they appeared in the source document?   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 knows that the position() function returns the position of the node as it is displayed within the result document, not necessarily the position of the node in the source document. Which element do you suggest George use to retrieve the position values of the nodes as they appeared in the source document?

(Multiple Choice)
5.0/5
(37)

One way to create a lookup table is to use the _____ function, which returns the active node being processed in the style sheet.

(Multiple Choice)
4.9/5
(43)

Some XSLT processors strip _____ nodes, which are nodes that contain only white space characters such as blanks, line returns, or tabs.

(Short Answer)
4.8/5
(31)

Variables that contain text strings should enclose those text strings within a separate set of _____.

(Multiple Choice)
4.9/5
(27)

A(n) _____ is a user-defined name that stores a value or an object.

(Short Answer)
4.8/5
(41)

   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 base case that represents a stopping condition. In the drawImages template, you explain to her that the function would reach the base case when _____.  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 base case that represents a stopping condition. In the drawImages template, you explain to her that the function would reach the base case when _____.

(Multiple Choice)
4.8/5
(43)

The only element that the call-template element can contain is the with-param element.

(True/False)
4.8/5
(34)

A(n) _____ 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.

(Multiple Choice)
4.8/5
(29)

The _____ attribute of the decimal-format element represents text used to represent entries that are not numbers.

(Multiple Choice)
4.8/5
(45)

The _____ function calculates the sum of the numeric values in a node set.

(Short Answer)
4.9/5
(39)
Showing 61 - 80 of 91
close modal

Filters

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