Solved

May Has Experience Developing Applications Using XSLT 1

Question 80

Multiple Choice

May has experience developing applications using XSLT 1.0, and would like to take advantage of some of the added features of XSLT 2.0 in developing a new application. She comes to you for help implementing some of these new features.
-May is trying to create a variable named productData that contains a sequence of zero to many element nodes, referenced by the XPath expression //products . You suggest she use the syntax _____ to create this variable.


A) <xs:variable name="productData" select="//products" as="element() *" />
B) <xs:variable name="productData" select="//products" as="element() " />
C) <xs:variable name="productData" as="//products" select="element() *" />
D) <xs:variable name="productData" as="//products" select="element() " />

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions