Groups | Blog | Home
all groups > dotnet xml > february 2006 >

dotnet xml : Using schema


Mario Vázquez
2/28/2006 12:00:00 AM
I'm having much trouble in relating a xml file with a shema definition in
order to validate the xml document and get advantage of the intellisense
features of the .net ide.
What steps I have to follow?

Thanks


Cerebrus
2/28/2006 3:03:53 AM
Hi Mario,

Check out :

http://msdn.microsoft.com/library/en-us/vbcon/html/vbwlkCreatingXMLFileWithAssociatedXMLSchema.asp
for a complete walkthrough.

In short,
if you don't have a pre-existing schema, you can just use the "Generate
schema" menu option, which will generate an XSD file for you, and also
associate your XML file with that XSD.
Now, intellisense should be available.

HTH,

Regards,

Cerebrus.
Mario Vázquez
3/1/2006 12:21:28 AM
Thanks for the tip.
I'll try.
:)

"Cerebrus" <zorg007@sify.com> escribió en el mensaje
news:1141124633.568633.38980@v46g2000cwv.googlegroups.com...
[quoted text, click to view]

AddThis Social Bookmark Button