Sydney is building an application with XSLT 2.0 that relies on many date formats and calculations. He comes to you for some assistance in developing these formats and calculations correctly.
-One section of the new application requires Sydney to add 2 years and 6 months to the current date. Which of the following expressions do you tell him will provide the correct result?
A) current-date() + xs:yearMonthDuration('p2y6m')
B) current-date() + xs:yearMonthDuration('PY2M6')
C) current-date() + xs:yearMonthDuration('P2Y6M')
D) current-date() + xs:yearMonthDuration('py2m6')
Correct Answer:
Verified
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
Q64: May has experience developing applications using 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
Q70: Sydney is building an application with XSLT
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