<< Chapter < Page Chapter >> Page >
This module contains review questions, answers, and explanations keyed to Chapter 2 of the textbook titled XML: Visual QuickStart Guide, 2nd Edition. By Kevin Howard Goldberg.

Table of contents

Preface

This material is published in support of the course identified as ITSE 1356 - Extensible Markup Language (XML) at Austin Community College in Austin, TX. As of the Spring 2014semester, the textbook for this course is XML: Visual QuickStart Guide, 2nd Edition. By Kevin Howard Goldberg.

This module contains review questions, answers, and explanations keyed to Chapter 2 of the textbook.

The questions and the answers are connected by hyperlinks to make it easy for you to navigate from the question to the answer and back again.

Questions

Question 1 .

True or False: Transforming an XML document means using XML to analyze its contents and then take certain actions depending on what elements are found.

Answer 1

Question 2

True or False: The transformation process starts with two documents:

  1. the XML document containing the source data to be transformed
  2. the XSLT stylesheet document describing the rules of the transformation

Answer 2

Question 3

True or False: An XSLT transformation requires an XSLT processor.

Answer 3

Question 4

True or False: An XML document must always include an xml-stylesheet processing instruction in order to undergo an XSLT transformation.

Answer 4

Question 5

True or False: Listing 1 below shows the proper syntax for an xml-stylesheet processing instruction.

Listing 1 . Question 5.
<?xml-stylesheet type="text/xsl" href="MyFile.xsl"?>

Answer 5

Question 6

True or False: A node tree is a hierarchical representation of the XSL document.

Answer 6

Question 7

True or False: A node in a node tree is one individual piece of the XML document such as an element, an attribute, or some text content.

Answer 7

Question 8

True or False: An XSLT style sheet contains instructions on what should be done with the nodes in a node tree in order to perform an XSLT transformation.

Answer 8

Question 9

True or False: Each XSLT template contains three parts:

  1. a label that identifies the nodes to which the template applies
  2. instructions about the transformation that should take place
  3. identification of the XML document to which the transformation is to be applied

Answer 9

Question 10

True or False: XSLT templates cannot contain literal elements.

Answer 10

Question 11

True or False: XSLT style sheets are text files and are saved with an extension of .xml.

Answer 11

Question 12

True or False: XSLT uses the XPath language to identify nodes.

Answer 12

Question 13

True or False: An XSLT style sheet is actually an XML document.

Answer 13

Question 14

True or False: An XSLT style sheet does not require an XML declaration.

Answer 14

Question 15

True or False: In an XSLT style sheet, the XML declaration should be followed by the W3C namespace for style sheets.

Answer 15

Question 16

True or False: In an XSLT style sheet, the W3C namespace for style sheets must be followed by the root template.

Questions & Answers

calculate molarity of NaOH solution when 25.0ml of NaOH titrated with 27.2ml of 0.2m H2SO4
Gasin Reply
what's Thermochemistry
rhoda Reply
the study of the heat energy which is associated with chemical reactions
Kaddija
How was CH4 and o2 was able to produce (Co2)and (H2o
Edafe Reply
explain please
Victory
First twenty elements with their valences
Martine Reply
what is chemistry
asue Reply
what is atom
asue
what is the best way to define periodic table for jamb
Damilola Reply
what is the change of matter from one state to another
Elijah Reply
what is isolation of organic compounds
IKyernum Reply
what is atomic radius
ThankGod Reply
Read Chapter 6, section 5
Dr
Read Chapter 6, section 5
Kareem
Atomic radius is the radius of the atom and is also called the orbital radius
Kareem
atomic radius is the distance between the nucleus of an atom and its valence shell
Amos
Read Chapter 6, section 5
paulino
Bohr's model of the theory atom
Ayom Reply
is there a question?
Dr
when a gas is compressed why it becomes hot?
ATOMIC
It has no oxygen then
Goldyei
read the chapter on thermochemistry...the sections on "PV" work and the First Law of Thermodynamics should help..
Dr
Which element react with water
Mukthar Reply
Mgo
Ibeh
an increase in the pressure of a gas results in the decrease of its
Valentina Reply
definition of the periodic table
Cosmos Reply
What is the lkenes
Da Reply
what were atoms composed of?
Moses Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Introduction to xml. OpenStax CNX. Dec 02, 2014 Download for free at https://legacy.cnx.org/content/col11207/1.18
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Introduction to xml' conversation and receive update notifications?

Ask