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')


Answer: C

Computer Science & Information Technology

You might also like to view...

The name of the active layer displays on the ____ of the document window in Photoshop.

a. status bar b. title bar c. Application bar d. options bar

Computer Science & Information Technology

The ____-side computer is the computer that will deliver the Web page to the user's computer.

A. host B. user C. server D. client

Computer Science & Information Technology

COGNITIVE ASSESSMENT Your company needs to hire someone to write and develop web content so that they will appear at the beginning of search results. Of the following, who gets the job?

A. a SEO expert B. a CRM specialist C. a Network engineer D. a UX designer

Computer Science & Information Technology

How often does garbage collection run on a DC?

A. 2 hours B. 6 hours C. 12 hours D. 18 hours

Computer Science & Information Technology