SAP Certified Associate – SAP Integration Suite — Question 29
Which of the following XSL statements selects each node in the source XML?
Answer options
- A. <xsl:template match= “text()”>
- B. <xsl:template match= “@*”>
- C. <xsl:template match= “/*”>
- D. <xsl:template match= “*”>
Correct answer: D
Explanation
The correct answer is D, as <xsl:template match= “*”> matches all elements in the XML document. Option A matches only text nodes, option B matches attributes, and option C matches only the root element, which makes them unsuitable for selecting every node.