Click here to monitor SSC
Av rating:
Total votes: 5
Total comments: 0


The Art of XSD
30 April 2009


"When information is exchanged in XML format, there needs to be an agreement between the sender and receiver about the structure and content of the XML document. An XSD (XML Schema Definition Language) Schema can be used to enforce this contract and validate the XML data being exchanged."

Jacob Sebastian, author.

Download the eBook (To download the eBook you need to be a member of Simple Talk, the download link will take you to the registration page).





Table of Contents

  • Chapter 01: Introduction to XML Schema
  • Chapter 02: Start Writing the First Schema
  • Chapter 03: LAB: Order Processing Application for North Pole Corporation
  • Chapter 04: Understanding Schema Components
  • Chapter 05: Understanding Element Declarations
  • Chapter 06: Understanding Attribute Declarations
  • Chapter 07: XSD Primitive Data Types
  • Chapter 08: Simple Types
  • Chapter 09: XSD Built-in Derived Data Types
  • Chapter 10: Complex Types
  • Chapter 11: Complex Type Derivation
  • Chapter 12: XSD Regular Expression Language
  • Chapter 13: Advanced Schema Concepts
  • Chapter 14: SQL Server Schema Collections and Metadata

Why read this book?

Today, a lot of applications exchange information in XML format. As such, there needs to be an agreement between the sender and receiver about the structure and content of the XML document. An XSD (XML Schema Definition Language) Schema can be used to enforce this contract and validate the XML data being exchanged. With SQL Server 2005 came the new native XML data type, and with it support for a subset of XSD. SQL Server stores XML schemas as 'XML Schema Collections', representing SQL Server objects, such as tables, views or stored procedures. Based on an XSD schema, you can create an XML Schema Collection that can be used to validate an XML data type, variable or column. An XML variable or column that is associated with an XML Schema Collection is known as TYPED XML. SQL Server validates a TYPED XML value against the rules defined in the schema collection. INSERT or UPDATE operations will succeed only if the value being inserted or updated is valid as per the rules defined in the Schema Collection.

This book will help you learn and use XML Schema collections in SQL Server. Prior knowledge of XSD is not required to start with this book, although any experience with XSD will make your learning process easier. This book starts with the basics of XML schemas and then walks you through everything you need to know, with examples and labs, in order to build powerful XML schemas in SQL Server.

If you have any question on the topics discussed in this book or on XSD in general, feel free to write to me at jacob@beyondrelational.com.

Book Details

  • Paperback: 467 pages
  • Publisher: Red Gate Books


This article has been viewed 3738 times.
Jacob Sebastian

Author profile: Jacob Sebastian

Jacob Sebastian is a SQL Server Consultant based in Ahmedabad, India. He's a Microsoft SQL Server MVP, a Moderator at the MSDN and Technet Forums, and volunteers with the Professional Association for SQL Server as Regional Chapter Coordinator for Asia. He also runs a SQL Server User Group in his home town, is a frequent columnist at SQLServerCentral.com and blogs regularly at http://blog.beyondrelational.com/ . Jacob started his database career in the early nineties with Dbase and then moved to Clipper, Foxpro and finally settled on SQL Server. He's now been working with SQL Server for over 11 years and is a regular speaker at local User Groups and SQL Server events. He is also a well-known SQL Server trainer, and teaches at various SQL Server classes across the country.

Search for other articles by Jacob Sebastian

Rate this article:   Avg rating: from a total of 5 votes.


Poor

OK

Good

Great

Must read
 
Have Your Say
Do you have an opinion on this article? Then add your comment below:
You must be logged in to post to this forum

Click here to log in.
 



recommended site pinvoke

PInvoke.net is a user-driven wiki which provides .NET developers with native method signatures, so they don't have to spend time writing them from scratch.




Exchange 2010 SP1 - A Practical Approach
 This update of Jaap Wessellius' popular guide to Exchange 2010 covers everything you need to know to... Read more...

Captain Biplane: Interplanetary Airman
 Simple-Talk caters for the lighter side with its publication of 'Captain Biplane: Interplanetary... Read more...

Don't Just Roll the Dice - eBook Download
 Neil Davidson has created a short handbook with the theory, practical advice and case studies, to... Read more...

Defensive Database Programming
 Inside this book, you will find dozens of practical, defensive programming techniques that will improve... Read more...

Mastering SQL Server Profiler
 Brad McGehee's "from the ground up" guide to SQL Server's most powerful performance diagnostic tool... Read more...

Exchange 2010 - A Practical Approach
 Jaap's Practical Guide to Exchange Server 2010 draws upon all that experience to deliver an easy-to-use... Read more...

Brad's Sure Guide to SQL Server Maintenance Plans
 Brad's Sure Guide to Maintenance Plans shows you how to use the Maintenance Plan Wizard and Designer to... Read more...

Inside the SQL Server Query Optimizer
 This book will take you from the fundamentals of Statistics, Cost Estimation, Index Selection, and the... Read more...

SQL Server Hardware
 SQL Server Hardware will provide the fundamental knowledge and resources you need to make intelligent... Read more...

Performance Tuning with SQL Server Dynamic Management Views
 This is the book that will de-mystify the process of using Dynamic Management Views to collect the... Read more...

Over 400,000 Microsoft professionals subscribe to the Simple-Talk technical journal. Join today, it's fast, simple, free and secure.

Join Simple Talk