[Home] [By Thread] [By Date] [Recent Entries]

  • From: David Lee <dlee@c...>
  • To: "Costello, Roger L." <costello@m...>, "xml-dev@l..."<xml-dev@l...>
  • Date: Tue, 1 Jan 2013 22:37:32 +0000

Suppose you just write the element names in invisible ink

 

< > < />

 

Really neat eh ?

 

 

----------------------------------------

David A. Lee

dlee@c...

http://www.xmlsh.org

 

From: Costello, Roger L. [mailto:costello@m...]
Sent: Tuesday, January 01, 2013 2:44 PM
To: xml-dev@l...
Subject: 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member