Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • 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
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

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.
 
Whatever you say buddy! And I believe this tiny ad too:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic