XML Technologies and XSLT
Covers XML parsing (DOM, SAX), XSLT transformations, XQuery, and XML Schema (XSD)
Questions
which one can be used to specify complex restrictions for the content of an element.
- sequence
- regular expression
- XSD
- XLT
which one is used to define a valid value for an attribute.
- xs:value
- xs:sequence
- xs:enumeration tag
- None
XML can only be transformed into HTML or XHTML.
- True
- False
The <xsl:for-each select=ficustomers/customerfl> statement states
- For each customer element of the result document
- For each customers element of the result document
- For each customer element of the source document thats a child of customers
- For each customers element of the source document
The xsl:value-of element is used to
- Extract text from the result document
- Extract text from the source document
- Place text into the source document
- None of the above
The <xsl:value-of select=fi@id=Jimfi/> statement is used to
- Select the Jim element
- Select the Jim attribute
- Select the id attribute
- Select the id attribute if the value is Jim
The xsl:if element instructs the CSS to evaluate a condition before extracting an element.
- True
- False
In order to sort numeric values, you must set the to
- data-type=finumberfl
- data-type=fivaluefl
- data-type=fidecimalfl
- None of the above
Only a browser can access a result document.
- True
- False
The SAX parser is not able to transverse an XML document.
- True
- False
The SAX parser creates a node by using
- createElement()
- reateTextNode()(
- createComment()
- None of the above
Which of the following is represented as a node in the tree a DOM parser creates?
- CDATA sections
- Comments
- Elements
- 1 & 3
- All of the above
The same version of a DOM parser must be used on all computers.
- True
- False
A SAX parser
- Organizes the XML document into a tree
- Reads a block of an XML document at a time
- Enables you to correct the contents of an XML document
- None of the above
$x is an
- Element
- Attribute
- XQuery
- Variable
A constructor
- Is the first instance of a function
- Is the first instance of a variable
- Converts information contained in an XML document to another data type
- None of the above
The round-half-to-even() function rounds half the value returned by a function.
- True
- False
The async = false means
- Statements will continue to execute as the XML document is being loaded.
- Statements will not execute until the XML document is being loaded.
- The XML document is synchronized to the HTML page.
- None of the above
firstChild is a
- Property containing a reference to the first child of an element
- Method that makes the current node the first child
- Method that substitutes the first node for the last node
- Method that substitutes the last node for the first node
createElement(fititlefl) means
- Create a new HTML element
- Create a title for a new HTML element
- Create a new XML element
- Create an attribute called title for the current XML element