XML Schema "myFavoriteWebSites.xsd"
Target Namespace:
http://schemas.microsoft.com/hs/2001/10/myFavoriteWebSites
Version:
1.0
Defined Components:
elements (1 global + 5 local), complexTypes (2)
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
C:\Projects\Microsoft Hailstorm\xsd\myFavoriteWebSites.xsd; see XML source
Imports Schemas (1):
hscommon.xsd [src]
Annotation
Schema for the Microsoft® .NET FavoriteWebSites service. Copyright (c) 2001 Microsoft Corporation. All rights reserved.
All Element Summary
cat (in favoriteWebSite)
Type:
Content:
empty, 1 attribute
Defined:
locally within favoriteWebSiteType complexType; see XML source
favoriteWebSite (in myFavoriteWebSites)
Type:
Content:
complex, 3 attributes, 3 elements, elem. wildcard
Defined:
locally within myFavoriteWebSitesType complexType; see XML source
myFavoriteWebSites
This element encapsulates the content document for the .NET FavoriteWebSites service.
Type:
anonymous complexType (extension of myFavoriteWebSitesType)
Content:
complex, 2 attributes, 2 elements, elem. wildcard
Defined:
globally; see XML source
Used:
never
subscription (in myFavoriteWebSites)
Type:
Content:
complex, 3 attributes, 4 elements
Defined:
locally within myFavoriteWebSitesType complexType; see XML source
title (in favoriteWebSite)
This element specifies the title of the favorite Web site.
Type:
Content:
simple, 2 attributes
Defined:
locally within favoriteWebSiteType complexType; see XML source
url (in favoriteWebSite)
This required element specifies the URL used to navigate to the Web site referred to by this entry.
Type:
xsd:anyURI
Content:
simple
Defined:
locally within favoriteWebSiteType complexType; see XML source
Complex Type Summary
This element describes a complete favorite Web site, including the title, URL, and free-form extensions.
Content:
complex, 3 attributes, 3 elements, elem. wildcard
Defined:
globally; see XML source
Includes:
definitions of 3 elements, elem. wildcard
Used:
This element defines the basic myFavoriteWebSitesType.
Content:
complex, 2 elements, elem. wildcard
Defined:
globally; see XML source
Includes:
definitions of 2 elements, elem. wildcard
Used:
XML Source
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/hs/2001/10/myFavoriteWebSites" version="1.0" xmlns="http://schemas.microsoft.com/hs/2001/10/myFavoriteWebSites" xmlns:hs="http://schemas.microsoft.com/hs/2001/10/core" xmlns:xdb="urn:schemas-microsoft-com:xdb" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:annotation>
<xsd:documentation>
Schema for the Microsoft&#174; .NET FavoriteWebSites service.
Copyright (c) 2001 Microsoft Corporation. All rights reserved.
</xsd:documentation>
<xsd:appinfo>
<xdb:blue select="/myFavoriteWebSites"/>
<xdb:blue select="/myFavoriteWebSites/*"/>
<xdb:red select="//@changeNumber"/>
<xdb:red select="//@id"/>
<xdb:red select="//@creator"/>
<xdb:red select="//cat"/>
<xdb:red select="//cat/@ref"/>
<xdb:red select="/myFavoriteWebSites/favoriteWebSite/title"/>
<xdb:red select="/myFavoriteWebSites/favoriteWebSite/url"/>
<xdb:red select="/myFavoriteWebSites/favoriteWebSite/$any"/>
<xdb:namespaceMap>
<xdb:mapping alias="m" uri="http://schemas.microsoft.com/hs/2001/10/myFavoriteWebSites"/>
<xdb:mapping alias="hs" uri="http://schemas.microsoft.com/hs/2001/10/core"/>
</xdb:namespaceMap>
</xsd:appinfo>
</xsd:annotation>
<xsd:import namespace="http://schemas.microsoft.com/hs/2001/10/core" schemaLocation="hscommon.xsd"/>
<!--
//
// myFavoriteWebSites
// - root element for the .NET FavoriteWebSites service
//
-->
<xsd:element name="myFavoriteWebSites">
<xsd:annotation>
<xsd:documentation>
This element encapsulates the content document for the .NET FavoriteWebSites service. The cache scope
for this document is the entire content document. That is, there is a single
<b>changeNumber</b>
attribute, and it occurs at the root element. Any change to the document
changes this attribute.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="myFavoriteWebSitesType">
<xsd:attributeGroup ref="hs:documentRootAttributeGroup"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="myFavoriteWebSitesType">
<xsd:annotation>
<xsd:documentation>
This element defines the basic
<b>myFavoriteWebSitesType</b>
.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="favoriteWebSite" type="favoriteWebSiteType"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="subscription" type="hs:subscriptionType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="favoriteWebSiteType">
<xsd:annotation>
<xsd:documentation>
This element describes a complete favorite Web site, including the title,
URL, and free-form extensions. This element may contain 0 or more category elements
that are used to organize favoriteWebSites.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="cat" type="hs:catType"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" name="title" type="hs:localizableString">
<xsd:annotation>
<xsd:documentation>
This element specifies the title of the favorite Web site. Typically it is used to fill
this element from the HTML &lt;title&gt; element in the Web site referred to by this
entry.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="1" minOccurs="1" name="url" type="xsd:anyURI">
<xsd:annotation>
<xsd:documentation>
This required element specifies the URL used to navigate to the Web site referred to by this
entry. Its content should be URL-encoded.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attributeGroup ref="hs:standardBlueAttributeGroup"/>
</xsd:complexType>
</xsd:schema>