Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: XSD vs XSI >Thread Next - Re: XSD vs XSI Re: XSD vs XSITo: NULL Date: 5/3/2007 10:22:00 AM Thanks. The XML file that I encounter has a line <manifest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3org/2001/XMLSchema-instance"> I don't quite understand what's the meaning of this line. If you can provide some examples , that will be more helpful. On May 2, 6:54 pm, Joe Kesselman <keshlam-nos...@comcast.net> wrote: > Bjoern Hoehrmann wrote: > > typically expanded to "XML Schema Document" or "XML Schema Datatypes" or > > ... or XML Schema Definition. Which of these meanings applies depends on > the context in which the term is used. > > > When used as namespace prefixes, they usually expand to different name- > > space names. > > xsd: usually maps to "http://www.w3.org/2001/XMLSchema", which is the > namespace for schemas themselves. You'd use this namespace to define the > datatypes and normal structure of your document. > > xsi: usually maps to "http://www.w3.org/2001/XMLSchema-instance", which > is the namespace for schema-related information that appears in instance > documents. You'd use this namespace to do things like say which schema > document describes this document, or to state that an element is a > particular sub-type of the type the schema requires it to be. > > If that doesn't help you, ask a more specific question. Or perhaps just read > http://www.w3.org/TR/2004/REC-xmlschema-0-20041028/ > or another introduction to XML Schema and its uses. (Herewith, my > standard plug for the many tutorials and articles athttp://www.ibm.com/xml) > > -- > () ASCII Ribbon Campaign | Joe Kesselman > /\ Stamp out HTML e-mail! | System architexture and kinetic poetry | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
