Multiple choice technology web technology

The match attribute is used to:

  1. a. Select the elements for which a template is applied; used with the element xsl:template

  2. b. Select a variable; used with the element xsl:value-of

  3. c. Select a case; used with the element xsl:switch

  4. d. Set fire to the XML document

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The match attribute in XSLT is used with xsl:template to select which XML elements the template should be applied to. It defines a pattern that matches nodes in the source XML tree. Options B and C are incorrect because xsl:value-of uses 'select' and there is no xsl:switch element in XSLT (it uses xsl:choose). Option D is clearly incorrect and humorous.