By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,823 Members | 730 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,823 IT Pros & Developers. It's quick & easy.

How to verify a xml file with another Schema

P: n/a
I have a xml file, it have a DTD declaration like below

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HealthData SYSTEM "Health.dtd">

Now I want to verify the xml file with another Schema file when use

But when I verify schema file, it will always report an error about that
there is a DTD declaration.

How can I catch these exception and ignore it?

or how can I delete the dtd delcaration before vailidate it?
Nov 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.