Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes XML and Related Technologies and the fly likes Validate XML Document Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Validate XML Document" Watch "Validate XML Document" New topic

Validate XML Document

Deon Bottha

Joined: Aug 10, 2006
Posts: 1
Hi I was wondering how I could validate a document based on a hard coded string representing a dtd in my program. basically I have:

doc has allready been filled with xml data:

now i simply want to validate the document against my hard coded dtd. Thanks
subject: Validate XML Document
Similar Threads
Proper use of an EntityResolver
org.w3c.dom.DOMException: DOM003 Namespace error
Simple XSL transformation
DTD Validation problem via Sax
Inserting node in XMl and retaining doc type information