PrepAway - Latest Free Exam Questions & Answers

Which of the following XSLT templates matches the root node of the XML document above?

Consider the following XML document:
<book>
<book_title>Cool Book</book_title>
<author>Joe</author>
<publisher>King of books</publisher>
<pub_year>2002</pub_year>
</book>
Which of the following XSLT templates matches the root node of the XML document above?

PrepAway - Latest Free Exam Questions & Answers

A.
<xsl:template select=”book”/>

B.
<xsl:template match=”*”>

C.
<xsl:template match=”root”/>

D.
<xsl:template match=”/”>


Leave a Reply