Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

How can i validate the XmlDocument with a DTD in my local system. should i put DTD in the same folder of XML? Please provide the idea to validate the XML with DTD which are present in different file paths

for example,
dtd presents at DTD folder
xml presents at XML folder

How can i specify <!DOCTYPE> in XML file which dtd presents in different path

Thanks,
--SJ
Posted
Updated 10-Jul-13 4:02am
v2
Comments
NeerajGSoft 4-Jul-13 4:29am    
what type of validation u want to do on xml file???? can u specify more...
codeninja-C# 10-Jul-13 10:03am    
Hi Neeraj,
I updated my question kindly look into that
Thanks
NeerajGSoft 10-Jul-13 11:13am    
go with solution 1. you will get idea for how to validate xml with dtd
codeninja-C# 11-Jul-13 5:15am    
Thanks Neeraj:-)
NeerajGSoft 11-Jul-13 5:55am    
your welcome..:-)

1 solution

 
Share this answer
 
Comments
codeninja-C# 11-Jul-13 5:15am    
Thank You, my doubt is cleared right now +5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900