Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XSD vs XSI

From: ranch99ranch99@-----.---
To: 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




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent