Exam 5: Working With Xslt and Xpath

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Jeremy has been using XML to organize data for a company that manufactures medical devices. He knows you have experience writing XML data to an output file using XSLT and XPath, and asks for your help improving the display of his data. -Jeremy has installed Java and the Saxon XSLT processor. He has developed a style sheet named devices.xsl , and would like to use it to transform his devices.xml file into a web page named devices.html he can display in a browser. However, he is unsure which command to enter to execute this process. Which command do you tell him to use to transform the file correctly?

(Multiple Choice)
4.7/5
(32)

Curly braces cannot be nested within the attribute value.

(True/False)
4.9/5
(33)

The _____ attribute tests whether the XPath expression returns a value of true or false; if it is true the enclosed style is applied.

(Multiple Choice)
4.8/5
(41)

  In the node tree shown in the accompanying figure, portfolio is a _____ node of author. In the node tree shown in the accompanying figure, "portfolio" is a _____ node of "author."

(Multiple Choice)
4.8/5
(33)

XSLT style sheets are XML documents.

(True/False)
4.7/5
(30)

Describe at least four tips to keep in mind to promote the creation of clear, effective XSLT style sheets.

(Essay)
4.7/5
(31)

The _____ document contains the data that will be transformed using a style sheet.

(Short Answer)
4.9/5
(37)

In the root element for an XSLT document, the stylesheet element needs to be placed in the http://www.w3.org/1999/XSL/ _____ namespace.

(Multiple Choice)
4.9/5
(33)

A(n) _____ is the text contained within an element.

(Short Answer)
4.7/5
(44)

The _____ attribute of the output element sets the URI for the public identifier in the <!DOCTYPE> declaration

(Multiple Choice)
4.7/5
(31)

The sort instruction can only be used within the _____ tag.

(Multiple Choice)
4.8/5
(40)
Showing 81 - 91 of 91
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)