Friday, April 17, 2009

Visual Studio.NET XML Designer

http://i269.photobucket.com/albums/jj44/downarchive2/keosoft/home_top_left.jpg


Home: http://www.learnvisualstudio.net/content/series/visual_studiodotnet_xml_designer.aspx

This series explores the use of the XML Designer, a special part of the Visual Studio.NET IDE that allows you to work closely with XML Schemas for raw XML files, DataSets and more.

The following videos are available for this series:

Walkthrough: Creating an XSD Schema
XML Schemas (XSD) are important in Visual Studio.NET. They define how XML should be properly formatted and are used extensively in ADO.NET Data Sets, Classes and most XML operations. This walkthrough demonstrates how to create a XSD Schema using the XML Designer in Visual Studio.NET, adding descriptive elements such as attributes and attribute groups, complexTypes, simple types and facets, relationships and more. It also highlights ways to navigate and organize the XML Designer objects.
Walkthrough: Creating an XML Document based on a Schema
This video is a continuation from 2501 and shows how to create an XML document that is based on the XSD that was created in the previous lesson. It first shows how to create an XML document, and link it to the Schema. It then shows how to enter and navigate the XML Data Editor to add data into the XML document in a simple GUI.
Walkthrough: Generating a DataSet from a Schema
Datasets provide a new way of persisting and managing data in ADO.NET, and XSDs are central to their existence. This video shows how to create a DataSet given an XSD, and shows what was created in code for the DataSet. It also demonstrates how to preview a DataSet to see its attributes and settings.
XML Designer User Interface
While these Visual Studio.NET tools were glossed over in the previous three 'walkthrough' videos, we take a few minutes to explain the use of a few of the user interface tools for use when creating an XSD Schema in the XML designer.
Understanding Elements and Attributes
This video goes into greater explanation of the use of the Element and Attribute elements, and what the visual designer is doing 'behind the scenes' to create a XSD Schema.
Creating Sub Elements (Unnamed Complex Types)
Sub Elements are useful for create 'ownership' or 'has a' relationships in an XSD Schema. This video explains how to create a Sub Element in the XML Designer.
Understanding SimpleTypes and Facets
SimpleTypes are re-usable definitions of data types within a schema. They enforce consistency throughout your XSD Schema and potentially reduce its size. Also, Facets can provide additional information or meta-data about a data element. This video demonstrates how to create and use each of these XML elements.
Understanding (Named) Complex Types
Named Complex Types are like SimpleTypes, except that they can contain many Elements and Sub Elements. The enforce consistency throughout your XSD Schema and potentially reduce its size. This video demonstrates how to create Named Complex Types in the XML Designer.
Understanding Groups
Groups define valid values for an XML Element to limit the potential correct values. This is used typically to enforce business rules within an application. This video demonstrates how to create the three different forms of Groups in the XML Designer.
Understanding Keys
Keys allow you to create relations, the topic of the next video in this series. This video explains what keys are in more depth, how to create them using the Edit Key dialog, and what is generated by the XML Schema Designer.
Understanding Relations
Relations take two complex type elements (which Microsoft's documentation refer to as tables ... just like you would find tables in a database or ADO.NET DataSet) and create relations between them. Thse relations serve two purposes. First, when the XML Schema is used to generate a Dataset, the relation allows you to look up all the records from a child table that relate to a record in the parent table. Additionally, relations allow you to enforce referential integrity in your Dataset. This video explains the creation of relations, including the Edit Relations dialog, as well as how to edit and delete relations and keys.

Download
visual_studiodotnet_xml_designer.rar

http://rapidshare.com/files/221559940/visual_studiodotnet_xml_designer.rar



Password default : shytex.com

No comments:

Post a Comment