<< Chapter < Page | Chapter >> Page > |
True or False: XML is a language.
True or False: Every custom markup language created using the XML specification must adhere to XML's underlying grammar.
True or False: XML documents are saved with a .rss extension.
True or False: An XML document simply stores and describes data.
True or False: Good practice suggests that the names of the tags in an XML document should describe the data they contain.
True or False: The first line of an XML document, (known as the XML declaration) , should be as shown in Listing 1 below (although the version number may be different at some point in the future):
Listing 1 . Question 24. |
---|
<?xml version="1.0"?> |
True or False: Just like HTML documents, XML documents may have multiple root elements.
True or False: A root element can have one or more child elements that describe the root element in more detail.
True or False: In Listing 2 below, units is called a parameter
Listing 2 . Question 27. |
---|
<height units="inches">66</height> |
True or False: The terminology "well-formed" is commonly used in conjunction with an XML document.
True or False: All of the following must be true in order for an XML document to be well-formed:
True or False: An XML attribute is the most basic unit of an XML document.
True or False: An XML element can contain text, attributes, and other elements.
True or False: Attributes are contained within an element's opening tag and have values that are delimited by quotation marks.
True or False: Tags that begin with the characters in the first line of Listing 3 and end with the characters in the second line of Listing 3 are called processinginstructions.
Listing 3 . Question 33. |
---|
<?
?> |
True or False: Processing instructions must be enclosed by the opening and closing tags of the root element.
True or False: XML is not sensitive to upper and lower case.
True or False: Element and attribute names must begin with a letter, a number, an underscore, or a colon.
True or False: Closing tags are not optional in XML.
True or False: Element names may begin with upper-case XML.
True or False: The root element can have child elements, and child elements can have other child elements provided that they are properly nested.
True or False: An attribute stores additional information about an element without adding text to the element's content.
True or False: Attribute values must be in double quotes.
True or False: Empty elements are elements that don't have any content of their own.
Notification Switch
Would you like to follow the 'Introduction to xml' conversation and receive update notifications?