This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xml" Watch "xml" New topic
Author

xml

asha kiran
Greenhorn

Joined: Jan 11, 2001
Posts: 5
how to validate an xml document with a external dtd?
deekasha gunwant
Ranch Hand

Joined: May 06, 2000
Posts: 396
This post seems to belong to XML . so i'm moving this thread to
XML forum.
Brent Worden
Ranch Hand

Joined: Nov 26, 2001
Posts: 50
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/


Brent Worden
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: xml
 
Similar Threads
Pronounciation of "Buzz Words"
making XML Doc from JDBC Results
Ajax Jqery xml response - not able to read response
Castor Mapping
iText problem with html-table to pdf