Multiple choice technology programming languages

XSLT stylesheets having number of templates.

  1. TRUE

  2. FALSE

  3. Not always true

  4. Not always false

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

XSLT stylesheets can contain multiple template rules, each matching different nodes or patterns in the source XML document. The language explicitly supports having any number of elements within a single stylesheet. The phrasing 'having number of templates' appears to indicate this multiplicity capability.

AI explanation

To answer this question, you need to understand XSLT (Extensible Stylesheet Language Transformations) and how stylesheets are used in XSLT.

XSLT stylesheets can contain multiple templates to define how XML data should be transformed. These templates are used to match specific elements or patterns in the XML input and specify how they should be transformed or processed.

Therefore, the statement "XSLT stylesheets have a number of templates" is true. XSLT stylesheets commonly have multiple templates to handle various elements and patterns within the XML input.

So, the correct answer is A) TRUE. XSLT stylesheets can have a number of templates.