Re: Difference between xs and xsd schema

Discussion in 'XML' started by Martin Honnen, Apr 15, 2008.

  1. David Gray wrote:

    > Very new (today actually) to XML and was wondering what the difference
    > between a schema starting <xs:schema and <xsd:schema.


    The prefix (e.g. xs or xsd) does not matter at all, what matters is the
    namespace URI the prefix is bound to. If it is
    http://www.w3.org/2001/XMLSchema then it is the W3C XML schema language.
    So
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"></xs:schema>
    is the same as
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"></xsd:schema>
    You can choose a different prefix if you like.



    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
     
    Martin Honnen, Apr 15, 2008
    #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. jakk
    Replies:
    4
    Views:
    12,244
  2. Bernd Oninger
    Replies:
    1
    Views:
    529
    Henry S. Thompson
    Jun 30, 2004
  3. stiank81
    Replies:
    4
    Views:
    15,405
    stiank81
    Jun 26, 2005
  4. Rushi
    Replies:
    1
    Views:
    555
  5. Replies:
    5
    Views:
    1,031
    Brian McCauley
    Nov 29, 2006
Loading...

Share This Page