Deck 6: Working With Xslt Functional Programming
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/91
العب
ملء الشاشة (f)
Deck 6: Working With Xslt Functional Programming
1
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
2
To operate recursively, a function must call itself employing the base case.
False
3
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
4
The XPath 1.0 numeric function ceiling ( number ) rounds number up to the next integer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
5
The copy element creates a(n) deep copy of the active node.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
6
Variables are accessed using the reference @name where name is the variable name.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
7
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
8
The normalize-space() function can also be used to remove extraneous white space characters from the beginning or end of any text string.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
9
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
10
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
11
If you place the include element at the beginning of your style sheet it will have precedence over the active style sheet.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
12
The copy-of element is similar to the copy element, as both create a deep copy of a node set.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
13
In XSLT, a variable name can start with a number.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
14
The copy element under XSLT 2.0 also supports the inherit-namespace attribute.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
15
The only element that the call-template element can contain is the with-param element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
16
In XSLT, a variable can store a section of code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
17
XSLT and XPath 1.0 support three data types for numbers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
18
XSLT and XPath 1.0 support only one data type for numbers- double precision floating point.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
19
In general, you should use the number() function for numbering the nodes in the result document.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
20
The identity template matches any kind of node in the source document and copies them to the result document.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
21
The _____ function will return a value of true if the document exists and is well-formed.
A) unparsed-text-available()
B) text-available()
C) doc-text-available()
D) doc-available()
A) unparsed-text-available()
B) text-available()
C) doc-text-available()
D) doc-available()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
22
One way of accessing data from multiple source documents within an XSLT style sheet is by using the _____ unparsed-text() function.
A) XPath 2.0
B) XSLT 1.0
C) XSLT 2.0
D) XPath 1.0
A) XPath 2.0
B) XSLT 1.0
C) XSLT 2.0
D) XPath 1.0
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
23
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.
A) file:///
B) file:
C) uri://
D) file:\\
A) file:///
B) file:
C) uri://
D) file:\\
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
24
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.
A) export
B) concatenate
C) copy-of
D) deep-copy
A) export
B) concatenate
C) copy-of
D) deep-copy
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
25
One way of accessing data from multiple source documents within an XSLT style sheet is by using the _____ doc() function.
A) XPath 2.0
B) XSLT 1.0
C) XSLT 2.0
D) XPath 1.0
A) XPath 2.0
B) XSLT 1.0
C) XSLT 2.0
D) XPath 1.0
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
26
The number format symbol _____ is a placeholder that displays required digits in the formatted number.
A) #
B) %
C) 0
D) )
A) #
B) %
C) 0
D) )
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
27
In XSLT, a variable can store a _____.
A) numeric value
B) text string
C) node set from an XML document
D) All of these are correct.
A) numeric value
B) text string
C) node set from an XML document
D) All of these are correct.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
28
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.
A) 0
B) %
C) #
D) )
A) 0
B) %
C) #
D) )
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
29
The number format symbol _____ separates the pattern for positive numbers from the pattern for negative numbers.
A) ;
B) #
C) ,
D) )
A) ;
B) #
C) ,
D) )
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
30
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.
A) indent
B) disable-output-escaping
C) disable-unparsed-text
D) enable-parsed-text
A) indent
B) disable-output-escaping
C) disable-unparsed-text
D) enable-parsed-text
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
31
If you only want to copy the descendent elements and attributes of the summary element but not the summary element itself, use the wildcard character (_____) in the copy-of element structure.
A) @
B) %
C) &
D) *
A) @
B) %
C) &
D) *
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
32
The number format symbol _____ separates groups of digits in the number.
A) ;
B) #
C) )
D) ,
A) ;
B) #
C) )
D) ,
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
33
One way to create a lookup table is to use the _____ function, which returns the active node being processed in the style sheet.
A) lookup()
B) current()
C) immediate()
D) import-table()
A) lookup()
B) current()
C) immediate()
D) import-table()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
34
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.
A) import
B) include
C) copy
D) priority
A) import
B) include
C) copy
D) priority
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
35
The _____ element includes the contents of an external style sheet file in the current style sheet.
A) xsl:include
B) xsl:variable
C) xsl:import
D) xsl:concatenate
A) xsl:include
B) xsl:variable
C) xsl:import
D) xsl:concatenate
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
36
The expression format-number(-238.2, '#,##0.0;(#,##0.0) ') displays the value -238.2 as _____.
A) (238.20)
B) -238.2
C) (238.2)
D) -238.20
A) (238.20)
B) -238.2
C) (238.2)
D) -238.20
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
37
The number format symbol _____ separates the integer digits from the fractional digits.
A) )
B) ;
C) ,
D) #
A) )
B) ;
C) ,
D) #
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
38
Variables that contain text strings should enclose those text strings within a separate set of _____.
A) parentheses
B) quotation marks
C) angle brackets
D) square brackets
A) parentheses
B) quotation marks
C) angle brackets
D) square brackets
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
39
The XPath 1.0 numeric function _____ rounds number up to the next integer.
A) ceiling( number )
B) floor( number )
C) top( number )
D) round( number )
A) ceiling( number )
B) floor( number )
C) top( number )
D) round( number )
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
40
The XPath 1.0 numeric function _____ counts the number of items in values .
A) number( values )
B) sum( values )
C) count( values )
D) ceiling( values )
A) number( values )
B) sum( values )
C) count( values )
D) ceiling( values )
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
41
_____ programming relies on the evaluation of functions and expressions, rather than on the sequential execution of commands.
A) Functional
B) Procedural
C) Recursive
D) Object-oriented
A) Functional
B) Procedural
C) Recursive
D) Object-oriented
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
42
Which of the following shows the correct result of the concat function: concat("October ", "10, ", "2017") ?
A) "October 10, 2017"
B) "October10,2017"
C) "October"
D) "October 10,2017"
A) "October 10, 2017"
B) "October10,2017"
C) "October"
D) "October 10,2017"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
43
To set the value of a template parameter, use the _____ element.
A) param
B) with-param
C) set-param
D) as-param
A) param
B) with-param
C) set-param
D) as-param
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
44
Which of the following shows the correct syntax of the function supported by XSLT 2.0 to retrieve non-XML data?
A) unparsed-text(uri [,encoding])
B) parsed-text(uri [,encoding])
C) unparsed-text(encoding [,uri])
D) parsed-text(encoding [,uri])
A) unparsed-text(uri [,encoding])
B) parsed-text(uri [,encoding])
C) unparsed-text(encoding [,uri])
D) parsed-text(encoding [,uri])
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
45
Which of the following shows the correct syntax of the element used to import an external style sheet in the active style sheet?
A)
B)
C)
D)
A)
B)
C)
D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
46
Which of the following shows the correct syntax of the element used to include an external style sheet in the active style sheet?
A)
B)
C)
D)
A)
B)
C)
D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
47
The _____ attribute of the decimal-format element represents the character used to separate the integer and fractional parts of the number.
A) decimal-separator
B) grouping-separator
C) pattern-separator
D) digit
A) decimal-separator
B) grouping-separator
C) pattern-separator
D) digit
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
48
Which of the following shows the correct syntax of the function used to test for the existence of an XML document?
A) exists(uri)
B) doc-available(uri)
C) doc-exists(uri)
D) available(uri)
A) exists(uri)
B) doc-available(uri)
C) doc-exists(uri)
D) available(uri)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
49
Which of the following shows the correct result of the substring-after function: substring-after("2017-10-05", "-") ?
A) "-"
B) "05"
C) "10-05"
D) "-10"
A) "-"
B) "05"
C) "10-05"
D) "-10"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
50
White space nodes are nodes that contain only white space characters such as _____.
A) blanks
B) line returns
C) tabs
D) All of these are correct.
A) blanks
B) line returns
C) tabs
D) All of these are correct.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
51
The _____ attribute of the decimal-format element represents text used to represent entries that are not numbers.
A) minus-sign
B) zero-digit
C) pattern-separator
D) NaN
A) minus-sign
B) zero-digit
C) pattern-separator
D) NaN
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
52
The _____ attribute of the decimal-format element represents the character used to represent negative values.
A) minus-sign
B) NaN
C) zero-digit
D) pattern-separator
A) minus-sign
B) NaN
C) zero-digit
D) pattern-separator
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
53
_____ is the process by which a function calls itself.
A) Iteration
B) Resolution
C) Reflection
D) Recursion
A) Iteration
B) Resolution
C) Reflection
D) Recursion
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
54
Parameters created in XSLT 2.0 also support the _____ attribute to define the data type of the parameter value.
A) as
B) data-type
C) type
D) in
A) as
B) data-type
C) type
D) in
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
55
Which of the following shows the correct result of the substring-before function: substring-before("2017-10-05", "-") ?
A) "2017-"
B) "2017"
C) "-"
D) "05"
A) "2017-"
B) "2017"
C) "-"
D) "05"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
56
Which of the following shows the correct result of the substring function: substring("Harpe Gaming Store", 7, 6) ?
A) "Gaming"
B) "g Store"
C) "Harpe G"
D) " Store"
A) "Gaming"
B) "g Store"
C) "Harpe G"
D) " Store"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
57
If you want to insure that white space nodes are not deleted, you can apply the _____ element as a direct child of the stylesheet element.
A) maintain-space
B) preserve-space
C) normalize-space
D) hold-space
A) maintain-space
B) preserve-space
C) normalize-space
D) hold-space
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
58
Which of the following shows the correct result of the nested substring functions: substring-before(substring-after("2017-10-05", "-") , "-") ?
A) "-"
B) "05"
C) "2017"
D) "10"
A) "-"
B) "05"
C) "2017"
D) "10"
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
59
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.
A) unmatched
B) function
C) named
D) operator
A) unmatched
B) function
C) named
D) operator
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
60
Many of the XPath functions work with sections of text strings called _____.
A) pseudostrings
B) superstrings
C) substrings
D) instrings
A) pseudostrings
B) superstrings
C) substrings
D) instrings
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
61
The _____ function is an XSLT 1.0 function used to access the contents of an external XML file.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
62

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.
A) called
B) applied
C) implemented
D) inserted
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
63

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?
A)
B)
C)
D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
64

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 _____.
A)
B)
C)
D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
65
![<strong> 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?</strong> A) [position() <= 5] B) [position() = 5] C) [position() <= 5] D) [position() < 6]](https://d2lvgg3v3hfg70.cloudfront.net/TBX9153/11ebf34f_f75c_9dc7_ab2c_7541abb27cf7_TBX9153_00.jpg)
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?
A) [position() <= 5]
B) [position() = 5]
C) [position() <= 5]
D) [position() < 6]
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
66
A(n) _____ is a collection of data values that can be searched in order to return data that matches a supplied key value.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
67
Which of the following if elements tests whether the context node is in the third position in the result document?
A)
B)
C)
D)
A)
B)
C)
D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
68
Many of the XPath functions work with sections of text strings called _____.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
69

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 _____.
A) $imgCount < 0
B) $imgCount = 0
C) $imgCount - 1 > 0
D) $imgCount = ""
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
70

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?
A)
B)
C)
D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
71
One approach to including markup tags as part of an element's value is to place the HTML code within a(n) _____ section.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
72

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 it is possible to use a named template to store a variable value. You tell her she can do this having the last action of the template use the _____ element to set the variable value.
A) name
B) with-param
C) value-of
D) select
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
73
Some XSLT processors strip _____ nodes, which are nodes that contain only white space characters such as blanks, line returns, or tabs.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
74
The _____ element creates a variable as a user-defined name that stores a value or an object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
75

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?
A) location
B) number
C) source-position
D) source-value
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
76
The _____ function specifies the text format of numeric values.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
77
The _____ element includes the contents of an external style sheet file in the current style sheet.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
78

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 _____.
A)
B)
C)
D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
79
Which of the following expressions can be used to display the value of the active node?
A)
B)
C)
D)
A)
B)
C)
D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck
80

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 _____.
A)
B)
C)
D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 91 في هذه المجموعة.
فتح الحزمة
k this deck