Beginning XML Databases (Wrox Beginning Guides)

1. 

Which of these is xsl:text ?

  1. Processing instruction element

  2. Node creation element

  3. Transformation element

  4. Control structure element

  5. None of the above

2. 

Which of these are correct?

  1. XSL stands for eXtendable Style Sheets.

  2. XML stands for eXecutable Markup Language.

  3. HTML stands for HyperText Markup Language.

  4. XSL-FO stands for XML Format.

  5. XSLT stands for eXtensible Style Sheet Language Transformations.

  6. All of the above.

3. 

Which of these are valid XSL elements?

  1. a. xsl:if

    b. xsl:foreach

    c. xsl:choose

    d. xsl: sort

    e. xsl:when

    f. xsl: otherwise

    g. All of the above

Answers

1.  

Exercise 1 solution

e. None of the above. xls:text is a data retrieval element, dumping text into the output.

2.  

Exercise 2 solution

c, d, and e are all correct. For a and b, the operative term is eXtensible, and not eXtendable. The word extendable means to stretch, make larger, or even richer and more comprehensive. XML is not quite an expanded form of HTML, but rather a modification of HTML with specialized features. Thus the word extensible as opposed to extendable applies to the difference between HTML and XML.

3.  

Exercise 3 solution

a, c, d, e, and f are all correct. b. xls:foreach is incorrect because the for loop element is xls:for-each (hyphenated).

Категории