Michael Rys

Musings on XML, XQuery and more...

<July 2008>
SuMoTuWeThFrSa
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789


Navigation

Papers

SQL Server XML Whitepapers

Weblogging Links

MS Bloggers

Recommended Books

Other Blogs

Recommended Links

Presentations (Upcoming)

Presentations (Recent)

Subscriptions

News


Upcoming Presentations


TechEd 2007, Orlando, June 4 to June 8, 2007


Books I co-authored



www.flickr.com
This is a Flickr badge showing public photos from Michael Rys. Make your own badge here.
eXTReMe Tracker

Post Categories

Article Categories



Customer.xsd Example Data

<xsd:schema targetNamespace="urn:example/customer"
     xmlns:e="urn:example/customer"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
     elementFormDefault="qualified">

    <xsd:element name="doc">
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element ref="e:customer" minOccurs="0" maxOccurs="unbounded" />
        </xsd:sequence>
        <xsd:attribute name="id" type="xsd:string"/>
      </xsd:complexType>
    </xsd:element>

    <xsd:element name="customer" type="e:customerT"/>

    <xsd:complexType name="customerT">
        <xsd:sequence>
          <xsd:element name="name" type="xsd:string" />
          <xsd:element ref="e:order" minOccurs="0" maxOccurs="unbounded" />
          <xsd:element name="notes" type="xsd:anyType"/>
        </xsd:sequence>
        <xsd:attribute name="id" type="xsd:string"/>
    </xsd:complexType>

    <xsd:element name="order" type="e:orderT"/>

    <xsd:complexType name="orderT">
        <xsd:attribute name="id" type="xsd:string"/>
        <xsd:attribute name="year" type="xsd:int"/>
    </xsd:complexType>

    <xsd:element name="buys" type="xsd:string"/>
    <xsd:element name="saleslead" type="xsd:string"/>
    <xsd:element name="competitor" type="xsd:string"/>
    <xsd:element name="event" type="xsd:string"/>

</xsd:schema>

posted on Thursday, May 27, 2004 2:50 PM by mrys


# TechEd 2004 DAT319 Demos @ Thursday, May 27, 2004 7:05 PM

TechEd 2004 DAT319 Demos

mrys

# MSDN WebCast Demo: Typing XML @ Tuesday, April 12, 2005 3:07 PM

MSDN WebCast Demo: Typing XML

mrys

# Material for my MSDN WebCast @ Tuesday, April 12, 2005 4:18 PM

Material for my MSDN WebCast

mrys

# MSDN WebCast Demo: Initializing XQuery Demo @ Tuesday, April 26, 2005 10:28 PM

MSDN WebCast Demo: Initializing XQuery Demo

mrys

# Material for my MSDN WebCast &amp;quot;Making the Most of XQuery with SQL Server 2005&amp;quot; @ Tuesday, April 26, 2005 11:31 PM

You will be able to get the WebCast recording and copies of the slides&nbsp;from the MSDN website (registration...

mrys




Powered by Dot Net Junkies, by Telligent Systems