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?

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?

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

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

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

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



Leave a Reply 0

Your email address will not be published. Required fields are marked *