all groups > sql server new users > october 2005 >
You're in the

sql server new users

group:

XML Validated by a XSD



XML Validated by a XSD Gary B
10/23/2005 10:16:17 PM
sql server new users: I simply want to load an XML (either from a file or text),
then validate it against an XSD (file or text).

1.) I have NO idea how to do this, please help.

2.) Can this be done strickly in SQL Server 2005 (or do I need VS2005)

Re: XML Validated by a XSD Dejan Sarka
10/24/2005 12:00:00 AM
It can be done in SQL 2005, without VS.NET 2005. You can use XML data type
when creating a table and specify it is validated against a schema from XML
schema collections. When you insert data, it is validated against the
schema. Do please check the XML data type in SQL 2005 Books OnLine.

--
Dejan Sarka, SQL Server MVP
Mentor
www.SolidQualityLearning.com

[quoted text, click to view]

AddThis Social Bookmark Button