Hi Lesley,
The XML Editor in VS2005 ships a set of predefined schemas which are
installed into your Visual Studio Installation directory under
%vsinstalldir%\xml\schemas (for example, C:\Program Files\Microsoft Visual
Studio 8\Xml\Schemas). These schemas describe some of the core standard XML
namespaces, as well as some of the Visual Studio specific namespaces.
When you open an XML file that uses any one of the namespaces defined by
these pre-defined schemas, the XML editor will automatically associate the
matching schema from the cache location (%vsinstalldir%\xml\schemas) and you
will immediately get validation errors and intellisense based on that
schema.
This schema cache directory is designed to hold schemas that are standard
and not likely to change. The list is as follows:
W3C & Soap Schemas
soap.xsd - Simple Object Access Protocol 1.0
soap1.1.xsd - Simple Object Access Protocol 1.1
soap1.2.xsd - Simple Object Access Protocol 1.2
wsdl.xsd - Web Service Description Language
xenc.xsd - XML Encryption
xhtml.xsd - XHTML 1.0
xlink.xsd - XML Linking
xml.xsd - Core XML attributes (xml:lang, xml:space, etc).
xmlsig.xsd - XML Digital Signatures
xsdschema.xsd - XSD for XSD
xslt.xsd - XML Transformation Language 1.0
WebData Schemas
msdata.xsd - ADO.NET XSD annotations.
datasource.xsd - <DataSource> XSD extensions
xdr.xsd - XML Data Reduced (SQL 2000)
xdrrowset.xsd - ADO recordset persistence XDR extensions
xdrtypes.xsd - Primitive types for XDR
msxsl.xsd - XSLT extensions for System.Xml.Xsl.
CLR & Windows Schemas
dotnetconfig.xsd - CLR config files
wshmeta.xsd - Windows Scripting Host
VS Core & MSBuild Schemas
addinschema.xsd - VS Addins
itemtemplate.xsd - Item templates
vstemplate.xsd - General templates
projecttemplate.xsd - Project templates
snippetformat.xsd - Code snippets
microsoft.msbuild.xsd - MSBuild schema
catalog.xsd - The XML Editor schema catalog format
vsIntellisense.xsd - XSD Intellisense extensions for XML & HTML editors.
Venus & Mobile Controls Schemas
adrotator.xsd - Ad Rotator control files
adrotator1_0.xsd - Ad Rotator v 1.0 files
sitemapschema.xsd - WebSite maps files
xmta.xsd - Smart Devices
--
Stan Kitsis
Program Manager, XML Technologies
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
"LesleyW" <Le*****@discussions.microsoft.com> wrote in message
news:B3**********************************@microsof t.com...
Thanks for the replies.
So in VS 2005, are the standard W3C schemas already local and I just have
to
copy in any others?
Is there a good source that describes how this works? I've been hunting
for
days and can only find snippets here and there.
Many thanks again.
LesleyW