Easy Schema Question About Naming Convention

Discussion in 'XML' started by needin4mation@gmail.com, Jun 15, 2005.

  1. Guest

    Hi, consider:

    <?xml version="1.0"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.w3schools.com"
    xmlns="http://www.w3schools.com"
    elementFormDefault="qualified"><xs:element name="note">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="to" type="xs:string"/>
    <xs:element name="from" type="xs:string"/>
    <xs:element name="heading" type="xs:string"/>
    <xs:element name="body" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element></xs:schema>

    Is the "xs" and arbitrary name "<xs:schema..."? Could "xs" in the
    second line be changed to anything as long as the rest of the xs
    references are changed to reflect it? Thank you.
     
    , Jun 15, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve Jorgensen
    Replies:
    0
    Views:
    562
    Steve Jorgensen
    Aug 9, 2005
  2. Song Yun Zhao

    simple naming convention question

    Song Yun Zhao, Dec 18, 2003, in forum: C++
    Replies:
    5
    Views:
    429
    jeffc
    Dec 18, 2003
  3. michael
    Replies:
    6
    Views:
    347
    Hans Nowak
    Jul 3, 2003
  4. Stefan Achatz

    question about symbol naming convention

    Stefan Achatz, Aug 4, 2005, in forum: Ruby
    Replies:
    0
    Views:
    107
    Stefan Achatz
    Aug 4, 2005
  5. HoneyMonster
    Replies:
    9
    Views:
    167
    HoneyMonster
    Feb 9, 2012
Loading...

Share This Page