XML Fundamentals Quiz
Test your knowledge of XML syntax, well-formedness rules, DTD, XSL, and core XML specifications.
Questions
XML's goal is to replace HTML
- True
- False
What does XSL stand for?
- eXtra Style Language
- eXpandable Style Language
- eXtensible Style Listing
- eXtensible Stylesheet Language
There is a way of describing XML data, how?
- XML uses a description node to describe data
- XML uses a DTD to describe the data
- XML uses XSL to describe data
- None of the above
Is this a "well formed" XML document? Tove Jani
- True
- False
Which is not a correct name for an XML element?
- <first name>
- <NAME>
- <age>
- All 3 names are incorrect
What is the correct syntax of the declaration which defines the XML version?
- <?xml version="1.0" />
- <xml version="1.0" />
- <?xml version="1.0"?>
- None of the above
What does DTD stand for?
- Direct Type Definition
- Dynamic Type Definition
- Document Type Definition
- Do The Dance
Is this a "well formed" XML document? Tove Jani Reminder Don't forget me this weekend!
- True
- False
Which statement is true?
- All XML elements must be properly closed
- All the statements are true
- All XML elements must be lower case
- All XML documents must have a DTD
XML preserves white spaces
- True
- False
Is this a "well formed" XML document? Tove Jani
- True
- False
XML elements cannot be empty
- True
- False
XML attribute values must always be enclosed in quotes
- True
- False
For the XML parser to ignore a certain section of your XML document, which syntax is correct?
- <CDATA> Text to be ignored </CDATA>
- <PCDATA> Text to be ignored </PCDATA>
- <xml:CDATA[ Text to be ignored ]>
- <![CDATA[ Text to be ignored ]]>
What does XML stand for?
- X-Markup Language
- eXtensible Markup Language
- Example Markup Language
- eXtra Modern Link
What is a correct way of referring to a stylesheet called "mystyle.xsl" ?
- <link type="text/xsl" href="mystyle.xsl" />
- <?xml-stylesheet type="text/xsl" href="mystyle.xsl" ?>
- <stylesheet type="text/xsl" href="mystyle.xsl" />
- None of the above