Worksheetsxml quiz
Total questions: 15
Worksheet time: 11mins
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" />
<?xml version="1.0" /
Which of the following strings are a correct XML name?
my Element
#myElement
_myElement
Which of the following XML documents are well-formed?
<firstElement>some text goes here <secondElement>another text goes here</secondElement> </firstElement>
<firstElement>some text goes here</firstElement> <secondElement> another text goes here</secondElement>
<firstElement>some text goes here <secondElement> another text goes here</firstElement> </secondElement>
</firstElement>some text goes here </secondElement>another text goes here <firstElement>
What is XSLT?
Extensible Standard Language Transformation
Extensible Sytlesheet Language Transformation
Extensible Standard List Transformation
Extensible Sytle Language Transformation
Which statement is true?
XML tags are case sensitive
XML documents must have a root tag.
XML elements must be properly closed.
All of the above.
Which special character is NOT used in XML?
<
>
$
?
How is an empty XML element defined?
<sample></sample>
<sample/>
All of the above.
None of the above.
What does XML stand for?
eXtra Modern Link
eXtensible Markup Language
X-Markup Language
Example Markup Language
which one
describe a work or remark to (a particular author, artist, or
speaker).
Attributes
Identifiers
Elements
Tags
Which of the following are well-formed XML fragments?
a. < myElement myAttribute=”someValue’/>
b. < myElement myAttribute=someValue/>
c. < myElement myAttribute=’someValue’>
d. < myElement myAttribute=”someValue”/>
How many root elements can we have in XML?
a. 1
b. 2
c. 3
d. 0
What is DTD?
a. Document type Determination
b. Determination Type Defination
c. Document Text Definition
d. Document Type Definition
Which statement is true?
XML tags are case sensitive
XML documents must have a root tag
XML elementss must be properly closed.
All of the above.
The need of using a DTD in developing XML document is?
a. Required when validating XML documents.
b. No longer necessary after the XML editor has been customized.
c. Used to direct conversation using an XSLT processor.
d. A good guide to populating templates to be filled in when generating an XML document automatically.
How to specify the attributes with multiple values?
a. < myElement myAttribute=”value1” myAttribute=”value2”/>
b. < myElement myAttribute=”value1 value2”/>
c. Attributes cannot have multiple values.
d. < myElement myAttribute=”value1, value2”/>
