I'm 开发者_开发技巧new to XML validation using .xsd files.
Maybe I'm not even asking the correct question here; but is there a way for the computer to tell me that 'Yeah, your XML file is correctly formatted according this .xsd file you made'.
I imagine I need a validator of some sort. Do those exist and it that what I need?
Yes, there are several ways:
- your IDE probably has the capabilities built-in;
- there is a variety of command line tools which will do this;
- there are on-line services for this;
Tell us the details of your development set up and SO will provide more apposite help. Linux or Windows ? NetBeans, Visual Studio or Eclipse ? And so on.
精彩评论