• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DTD and extra tags

 
Sai Prasad
Ranch Hand
Posts: 560
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
Is it valid to create an xml document that should conform to a DTD with extra tags not listed in DTD? Thanks.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. The DTD has to define all elements used in the XML document.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic