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:
Verified
Q59: Q60: XPath 2.0 provides the _ function to Q61: Sydney is building an application with XSLT Q62: Sydney is building an application with XSLT Q63: A common practice is to place XPath Q65: Sydney is building an application with XSLT Q66: May has experience developing applications using XSLT Q67: Sydney is building an application with XSLT Q68: The _ function returns the location of Q69: You can create atomic values based on![]()
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents