
what is name space,xml scema give an example for each

XML Namespaces provide a method to avoid element name conflicts.They are used for providing uniquely named elements and attributes in an XML document. They are defined in a W3C recommendation.1 An XML instance may contain element or attribute names from more than one XML vocabulary. If each vocabulary is given a namespace, the ambiguity between identically named elements or attributes can be resolved.
XML Schema is used to define the legal building blocks of an XML document, just like a DTD. An XML Schema defines user-defined integrants like elements, sub-elements and attributes needed in a xml document. It defines the data types for elements and attributes along with the occurrence order . It defines whether an element is empty or can include text. It also defines default and fixed values for elements and attributes.
For examples and some information, visit the following links:
http://www.roseindia.net/tutorial/xml/XML-Schema.html
http://www.roseindia.net/xml/XML_Schema.shtml
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.