xml quiz review set
Attributes can contain multiple values.
False
All XML documents must have a root tag.
True
The last line of an XML document must close the root element.
True
Which of the following can NOT be done with XSLT?: Add/remove attributes from the output file. All can be done with XSLT Perform tests and make decisions about which elements to hide and display. Add/remove elements from the output file. Rearrange and sort elements.
All can be done with XSLT
Attributes must be placed in either the first opening or last closing tag.
False
Both HTML and XML tags do NOT need to be properly nested.
False
The first line in an XML document must be the root element. (T/F)
False
XML is a replacement for HTML (T/F)
False
XML tags are NOT case sensitive.
False
"Well formed" XML documents conform to all XML Syntax rules.
True
A fundamental difference between XML and HTML is that all XML elements must have a closing tag while HTML elements do not always need a closing tag.
True
Attributes are more difficult to manipulate than elements by program code.
True
Attributes are not expandable for future changes.
True
In XML, data can be included either as an Attribute or as an Element, but Attributes should be avoided.
True
In both HTML and XML, attributes must be quoted.
True
XML describes what data is and HTML describes how data looks. (T/F)
True
The syntax for navigating XML documents is defined in
XPath
Which of the following is NOT true about XQuery? XQuery can be used to search web documents for relevant information. XQuery replaces SQL for searching databases. XQuery and XPath share the same data model and support the same functions and operators. It is a language for finding and extracting elements AND attributes from XML documents.
XQuery replaces SQL for searching databases.
Which of the following is INCORRECT? XML can be used to store data inside databases. XML can be used to store data inside HTML documents. XML can be used to exchange data between applications. All are correct
all are correct