XSLT is used for

  1. W3C Recommendation

  2. Cascading Style Sheets

  3. uses XPath to navigate in XML documents

  4. transforms an XML document into another XML document


Correct Option: B

AI Explanation

To answer this question, you need to understand the purpose and functionality of XSLT (Extensible Stylesheet Language Transformations).

Option A) W3C Recommendation - This option is incorrect because XSLT itself is a technology recommendation by the World Wide Web Consortium (W3C), but it is not used for creating or defining W3C recommendations.

Option B) Cascading Style Sheets - This option is incorrect. Cascading Style Sheets (CSS) is a separate technology used for defining the presentation and layout of web pages. XSLT, on the other hand, is used for transforming XML documents.

Option C) Uses XPath to navigate in XML documents - This option is correct. XSLT uses XPath, a language for navigating and selecting parts of XML documents, to locate and manipulate data within XML documents during transformation.

Option D) Transforms an XML document into another XML document - This option is correct. XSLT is primarily used for transforming XML documents into different structures or formats. It allows you to define rules and templates to extract, modify, or rearrange data from an input XML document to generate an output XML document.

The correct answer is B) Cascading Style Sheets.

Find more quizzes: