How to verify a xml file with another Schema
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?
|All times are GMT. The time now is 08:38 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.