• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

mock exam question

 
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?
 
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
Boost this thread!