XML and Web Technologies
Quiz covering XML fundamentals, XSL stylesheets, and web service concepts including WCF
Questions
What does XML stand for?
- Example Markup Language
- X-Markup Language
- eXtra Modern Link
- eXtensible Markup Language
Which of the following statement is true?
- In XML,both the tag semantics and the tag set are fixed
- XML is a meta-language for describing markup languages
- XML is a restricted form of SGML
- All the above
Which statement is true?
- XML elements must have a closing tag
- XML tags must be lower case
- XML elements must be properly nested
- XML attribute values must be quoted
True/False? Comments are not part of the textual content of an XML document. An XML processor is required to pass them along to an application.
- True
- False
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
True/False? With XML, the white-space in a document is not truncated.
- True
- False
Which is not a correct name for an XML element?
- <7lastname>
- <lastname>
- <last name>
- <last_name>
Which of the following statement is true?
- Names cannot start with a number or punctuation character
- Names cannot start with the letters xml (or XML, or Xml, etc)
- Names can contain spaces
- All the above
Which of the following statements is not true?
- Names cannot start with a number or punctuation character
- Names cannot start with the letters xml (or XML, or Xml, etc)
- Names can contain spaces
- Non-English letters like éòá are perfectly legal in XML
Find the correct format.
- <Narnia category=fantasy>
- <Narnia category="fantasy">
- <Narnia category='fantasy'>
- <Narnia category='seven "fantasy" novels'>
XML
- Example Markup Language
- X-Markup Language
- eXtra Modern Link
- eXtensible Markup Language
What is a correct way of referring to a stylesheet called "mystyle.xsl" ?
- <?xml-stylesheet type="text/xsl" href="mystyle.xsl" ?>
- <stylesheet type="text/xsl" href="mystyle.xsl" />
- <link type="text/xsl" href="mystyle.xsl" />
- None of the above
Sessionmode Enumeration are
- Allowed
- NotAllowed
- Required
- All
Which property controls the instance lifetime?
- SerivceTypeAttribute
- ServiceAttribute
- ServiceBehaviourAttribute
- ServiceTypeBehaviour