Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SYSTEM vs PUBLIC

 
Vishakha Ahuja
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<!DOCTYPE root-element SYSTEM "URL of DTD">
<!DOCTYPE root-element PUBLIC "URL of DTD">
What is the difference b/w SYSTEM and PUBLIC ?
 
David Freels
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vishakha Ahuja:
<!DOCTYPE root-element SYSTEM "URL of DTD">
<!DOCTYPE root-element PUBLIC "URL of DTD">
What is the difference b/w SYSTEM and PUBLIC ?

SYSTEM specifies the URI location of a DTD for private use in a document.
PUBLIC is used in situations where a DTD has been publicized for widespread use.
Definitions taken from XML Pocket Reference. O'Reilly. Robert Eckstein.
david
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic