Groups | Blog | Home
all groups > visual studio .net ide > march 2004 >

visual studio .net ide : How to associate a XML Schema with a file extension


Ralf Westphal [MSDN RD]
3/10/2004 9:36:58 AM
how can i associate a given XML schema (e.g. for ObjectSpaces OSD mapping
info) with some file extension (e.g. .osd)?

i´d like to create my own item type to add to VS.NET projects and then, when
i add such an item, the xml editor checks the xml against the xml schema
associated with the file extension.

is that possible with VS.NET?

thx for any hint!

v-kevy NO[at]SPAM online.microsoft.com
3/11/2004 9:00:42 AM
Hi Ralf

Thank you for posting in the community!

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you apply a schema to the current
editing Xml in IDE, so that the IDE can validate the Xml document
automatically. If there is any misunderstanding, please feel free to let me
know.

As far as I know, this is not supported in Visual Studio .NET IDE. We can
only apply schemas to a strong-named DataSet, but cannot apply that to any
Xml document.

If you have some suggestions that can make our future products better,
please feel free to send emails to mswish@microsoft.com. Your suggestions
will be highly appreciated.

If anything is unclear, please feel free to reply to the post.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
google NO[at]SPAM mcgiv.com
4/4/2004 7:33:18 PM
I think this may be what your looking for http://mcgiv.com/extendingVS.Net/

[quoted text, click to view]
AddThis Social Bookmark Button