Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Schema of an XSD?

Tags:

xml

xslt

xsd

I'm looking for the Schema document on basis of which an XSD is created. I need this because I want to transform an XML to XSD using XSL.

like image 922
TheLameProgrammer Avatar asked Feb 20 '10 06:02

TheLameProgrammer


People also ask

What is an XSD schema file?

An XML schema definition (XSD), is a framework document that defines the rules and constraints for XML documents. An XSD formally describes the elements in an XML document and can be used to validate the contents of the XML document to make sure that it adheres to the rules of the XSD.

What is schema in XML example?

XML schema is a language which is used for expressing constraint about XML documents. There are so many schema languages which are used now a days for example Relax- NG and XSD (XML schema definition). An XML schema is used to define the structure of an XML document.

What is the difference between XML Schema and XSD?

XSD defines elements and structures that can appear in the document, while XML does not. XSD ensures that the data is properly interpreted, while XML does not. An XSD document is validated as XML, but the opposite may not always be true. XSD is better at catching errors than XML.


2 Answers

It's right here: http://www.w3.org/2001/XMLSchema.xsd

Note that your browser might not display it exactly as it is stored, so you may want to use View Source.

like image 59
lavinio Avatar answered Oct 01 '22 14:10

lavinio


The XSD will be based on your XSD version.

Version 1.1: http://www.w3.org/2009/XMLSchema/XMLSchema.xsd Version 1.0: http://www.w3.org/2001/XMLSchema.xsd

Reference: http://www.w3.org/2001/XMLSchema

like image 43
sashwat Avatar answered Oct 01 '22 14:10

sashwat