Which of the following represents the cardinality operator “*” in a DTD ?
- Only one
- Optional
- From 1 to many
- From 0 to many
Consider the following XML document:
<img src="quiz4_q3.jpg" alt="quiz4_q3.jpg" title="quiz4_q3" width="429"
Which of the following XPath queries would return all items with a quantity of 5?
- //item
- //item/quantity="5"
- //item[quantity="5"]
- //item[@quantity="5"]
We can apply a style sheet to an HTML document
- By adding a link tag to the body element
- By adding a link tag to the title element
- By adding a link tag to the head element
- By adding a link tag to the DTD
HTML enables us to manage a document’s
- Presentation
- Content
- Presentation and content
- Neither presentation nor content
XHTML is
- HTML that is also well formed XML
- XML that is used instead of HTML
- Version 10 of HTML
- HTML that is wrongly formatted
The class attribute in HTML can be used as
- A way of applying a standard style to a group of elements
- A way of embedding an object oriented program into an HTML page
- A way of allocating a student to a particular course
- A way of specifying the quality of a document
The part of XSL that relates to the formatting of output is known as
- XSL FO
- XSLT
- XPath
- XHTML
xsl:for-each can be used to
- Select a single node from an XML document
- Select an entire XML document
- Iterate over the nodes of an XML document
- It is not valid XSLT syntax