Home

XML Online Question

What does XML stand for? (A) eXtra Modern Link (B) Example Markup Language (C) eXtensible Markup Language (D) X-Markup Language

There is a way of describing XML data, how? (A) XML uses a DTD to describe the data (B) XML uses a description node to describe data (C) XML uses XSL to describe data

XML's goal is to replace HTML (A) True (B) False

What is the correct syntax of the declaration which defines the XML version? (A) <?xml version="1.0" /> (B) <?xml version="1.0"?> (C) <xml version="1.0" />

What does DTD stand for? (A) Do The Dance (B) Dynamic Type Definition (C) Direct Type Definition (D) Document Type Definition

Is this a "well formed" XML document? <?xml version="1.0"?> <note> <to>Tove</to> <from>Jani</from> 3 <XML Online Qu3stion>3Reminder</XML Online Question>3 <body>Don't forget me this weekend!</body> </note> (A) Yes (B) No

Is this a "well formed" XML document? <?xml version="1.0"?> <to>Tove</to> <from>Jani</from> 3 <XML Online Qu3stion>3Reminder</XML Online Question>3 <body>Don't forget me this weekend!</body> (A) No (B) Yes

Which statement is true? (A) All the statements are true (B) All XML elements must be lower case (C) All XML elements must be properly closed (D) All XML documents must have a DTD

Which statement is NOT true? (A) White-space is not preserved in XML (B) XML tags are case sensitive (C) XML elements must be properly nested (D) XML documents must have a root tag

XML preserves white spaces (A) False (B) True

XML Online Question

Is this a "well formed" XML document? <?xml version="1.0"?> <note> <to age="29">Tove</to> <from>Jani</from> </note> (A) Yes (B) No

Is this a "well formed" XML document? <?xml version="1.0"?> <note> <to age=29>Tove</to> <from>Jani</from> </note> (A) No (B) Yes

XML elements cannot be empty (A) True (B) False

Which is not a correct name for an XML element? (A) <Note> (B) <1dollar> (C) All 3 names are incorrect (D) <h1>

Which is not a correct name for an XML element? (A) <NAME> (B) <first name> (C) <age> (D) All 3 names are incorrect

Which is a correct name for an XML element? (A) <7eleven> (B) <Name> (C) <xmldocument> (D) <phone number>

XML attribute values must always be enclosed in quotes (A) False (B) True

What does XSL stand for? (A) eXpandable Style Language (B) eXtensible Stylesheet Language (C) eXtra Style Language (D) eXtensible Style Listing

What is a correct way of referring to a stylesheet called "mystyle.xsl" ? (A) <link type="text/xsl" href="mystyle.xsl" /> (B) <?xml-stylesheet type="text/xsl" href="mystyle.xsl" ?> (C) <stylesheet type="text/xsl" href="mystyle.xsl" />

For the XML parser to ignore a certain section of your XML document, which syntax is correct? (A) <![CDATA[ Text to be ignored ]]> (B) <CDATA> Text to be ignored </CDATA> (C) <PCDATA> Text to be ignored </PCDATA> (D) <xml:CDATA[ Text to be ignored ]>

XML Online Question

Which statement is true? (A) Attributes must always be present (B) Attributes must occur in defined order (C) None of the other two statements are true

What are XML entities used for? (A) Entities define shortcuts to standard text or special characters (B) Entities define shortcuts to standard elements (C) Entities define shortcuts to standard attributes

Which of the following XML fragments is well-formed? (A) <customer id=3456><name>John Smith</name></customer> (B) <customer id="3456"><address/><zip code="3456"/></customer>

What is an XML instance? (A) An XML element (B) An XML document (C) An XML attribute

Which XML DOM object represents a node in the node tree? (A) The nodeList object (B) The document object (C) The node object