How to use one xsd (Schema file) for two different xml.

Posted by Paurush83 under C# on 7/20/2011 | Points: 10 | Views : 1910 | Status : [Member] | Replies : 2
How to use one Xsd (Schema file) for two different xml files.
Its validates fields of one xml file but should not validate same (similar to privious file) field of another file.

Paurush Sharma


Responses

Posted by: Lalji_mer on: 7/20/2011 [Member] Bronze | Points: 25

Up
0
Down
For information visit below link

http://www.w3schools.com/schema/schema_complex_any.asp

LP MER

Paurush83, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: RaviRanjanKr on: 7/24/2011 [Member] Starter | Points: 25

Up
0
Down
hey! I've written an article over Validating XML Document against XSD Using C#. so you can take a look there
http://www.dotnetspark.com/kb/4206-how-to-validating-xml-document-using-c-sharp.aspx
but your question is little bit confusing for me apart of it I am curios to know why you want to validate one xml file where as keeping ideas to not validate for another file.


Thanks
Ravi Ranjan Kumar
http://raviranjankr.wordpress.com

Paurush83, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response