XXX Chats

100 free web sexy chat

Validating xml file against schema

XML XSD Schema is an XML-oriented representation of the structure of an XML document.XML XSD Schema has the power of possibility to provide the standard structure for XML attributes and elements, through its support for namespaces and datatypes. NETLearn AJAXLearn Silverlight Learn Visual Studio Learn ADO. NETLearn Web Services Learn Controls Learn Biz Talk Learn Share Point Learn Mobile Learn SQLLearn SQL Reporting Learn Windows Forms Learn XMLLearn Crystal Reports Learn Far Point Learn Dev Express Examples ASP.

How do I enforce the schema, or is my Schema wrong?

You have to validate your XML file to make sure it fits to your application's needs to prevent any exception in your code.

To check if your XML document conforms to an XSD Schema, the document must be validated against that XSD Schema.

Hi Gents, Akimark - I have not tested thoroughly (as such) but it will tell me if it is not valid after it has saved... But what I want is the bit that does not seem to happen, i.e. I am thinking that a userform might be required to achieve what I want...

Martin - Yes you have described what I do accurately. I really thought XL would have the capability to offer me a Content Control type dropdown with a selection of choices permitted by the schema.

Comments Validating xml file against schema