?
Craig is working to develop an XSLT application to display election results, using XML files with the structures shown in the accompanying figure. He has heard that you have experience developing applications, and comes to you for guidance.
Craig used the code you suggested to create thecKeykey. However, he says he encountering problems when he tries to use this key to actually display data from the candidates.xml external file using the key. You explain to him that he will have to explicitly change the context node to therootelement of the candidates.xml file first using a _____ element.

A. ?root
B. ?for-each
C. ?context
D. ?value-of


Answer: B

Computer Science & Information Technology

You might also like to view...

What is the output of the following function and function call?

void calculateCost(int count, float& subTotal, float& taxCost); float tax = 0.0, subTotal = 0.0; calculateCost(15, subTotal,tax); cout << "The cost for 15 items is " << subtotal << ", and the tax for " << subTotal << " is " << tax << endl; //end of fragment void calculateCost(int count, float& subTotal, float& taxCost) { if ( count < 10) { subTotal = count * 0.50; } else { subTotal = count * 0.20; } taxCost = 0.1 * subTotal; } a. The cost for 15 items is 3.00, and the tax for 3.00 is 0.30; b. The cost for 15 items is 0.00, and the tax for 3.00 is 0.00; c. The cost for 15 items is 0.00, and the tax for 3.00 is 0.30; d. The cost for 15 items is 3.00, and the tax for 3.00 is 0.00;

Computer Science & Information Technology

A(n) ____________ is any device that works with binary data.

a. electronic module b. digital device c. binary machine d. computational tool

Computer Science & Information Technology

In which type of environment is a master/slave multiprocessor organization most appropriate?

a) scientific computing applications in which large matrices are manipulated b) cluster of workstations c) interactive environment d) mission-critical environment

Computer Science & Information Technology

Typing new text into a document at the insertion point is called ________ mode

Fill in the blank(s) with correct word

Computer Science & Information Technology