Resource Name:

ID Attributes in XML Views

 

Resource Desc:

XML views define an XML-centric view of a subset of the data stored in your relational database. You define an XML view by adding annotations to an XML schema to form a mapping schema. In "Filtering Values in XML Views," November 2002, InstantDoc ID 26715, and "Defining XML Views," December 2002, InstantDoc ID 27106, I showed you how to use several annotations to map data from the rows and columns of database tables to a virtual XML document that your mapping schema defines. In this column, I show you how to use XML's built-in support for ID and IDREF attributes, which function like keys and foreign keys in your database, and IDREFS, which lets you specify one-to-many (1:M) relationships.

 

Resource URL:

http://msdn.microsoft.com/library/en-us/dnsqlmag03/html/IDAttributesinXMLViews.asp?frame=true

 

Rating: 0.00

 

# Times Viewed: 295

 

Reviews