XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
XML Schema: What does it *really* mean to declare an element?

Hi Folks,

 

I have an XML Schema in which I declared this element:

 

        <xs:element name="W" type="xs:string" />

 

What does that element declaration really mean?

 

Does it mean that in an instance document I may only have this:

 

    <W>...</W>

 

Suppose I italicize the element name:

 

    <W>...</W>

 

Suppose I italicize the element name and make it BIG:

 

    <W>...</W>

 

Suppose I make the start tag BIG but the end tag small:

 

    <W>...</W>

 

Suppose I display the element name in Magneto font:

 

    <W>...</W>

 

How about Old English font:

 

    <W>...</W>

 

They are all equivalent:

 

    <W>...</W>

    <W>...</W>

    <W>...</W>

    <W>...</W>

    <W>...</W>

    <W>...</W>

 

Neat!

 

/Roger

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS