Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

xml  RSS feed

 
asha kiran
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to validate an xml document with a external dtd?
 
deekasha gunwant
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This post seems to belong to XML . so i'm moving this thread to
XML forum.
 
Brent Worden
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add a DOCTYPE declaration at the beginning of your XML document:
<!DOCTYPE NAME_OF_ROOT_ELEMENT SYSTEM "someDtd.dtd">
See http://www.w3.org/TR/REC-xml#dt-doctype for a more thorough explaination.

------------------
Brent Worden
http://www.Brent.Worden.org/
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!