• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mock exam question

 
jim yin
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question:
There is a way of describing XML data, how?
A: XML uses a description node to describe data
B: XML uses XSL to describe data
C: XML uses a DTD to describe the data.
Answer: A.
What is a description node? Why the answer is not C?
 
Jayadev Pulaparty
Ranch Hand
Posts: 662
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jim,
The question seems to be pretty vague; I guess by description node he meant to say any node that gives some description - it may be an element node or an attribute node; Why not DTD to describe the data -- the only reason on can cite is Document Type Definition i.e, it is used to define the data and the actual data description is given in the form of an element or an attribute;
 
jim yin
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jayadev Pulaparty:
Jim,
The question seems to be pretty vague; I guess by description node he meant to say any node that gives some description - it may be an element node or an attribute node; Why not DTD to describe the data -- the only reason on can cite is Document Type Definition i.e, it is used to define the data and the actual data description is given in the form of an element or an attribute;

The reason why it is not C may be: DTD describes
the document structure, not data itself.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic