Examlex

Solved

Craig Is Working to Develop an XSLT Application to Display

question 35

Multiple Choice

  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 would like to be able to use data from both documents in his application. You suggest he create variables that will allow him to pull the node sets from both files. Which of the following shows the correct syntax to create a variable named candidatesDoc to reference the root node of the candidates.xml file? A)  <xsl:variable name= candidatesDoc  match= document()  'candidates.xml')    /> B)  <xsl:variable name= candidatesDoc  select= doc('candidates.xml')    /> C)  <xsl:variable name= candidatesDoc  match= doc('candidates.xml')    /> D)  <xsl:variable name= candidatesDoc  select= document()  'candidates.xml')    />
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 would like to be able to use data from both documents in his application. You suggest he create variables that will allow him to pull the node sets from both files. Which of the following shows the correct syntax to create a variable named candidatesDoc to reference the root node of the candidates.xml file?


Definitions:

Rent Revenue

Income earned from leasing out properties or real estate to tenants.

Adjusting Entries

Adjusting entries are journal entries made at the end of an accounting period to update the accounts and ensure they reflect the true financial status of a company.

Prepaid Insurance

Prepaid insurance represents payments made for insurance coverage periods that have not yet occurred, and is recorded as an asset on the company's balance sheet.

Insurance Expense

The cost associated with purchasing insurance policies to protect a business from certain risks, recorded as an expense.

Related Questions