Tải bản đầy đủ (.pdf) (10 trang)

Introduction to XML and the Microsoft .NET Platform

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (176.85 KB, 10 trang )









Part Number: X08-65210
Course Number: 2500A


Released: 12/2001

Delivery Guide
Introduction to XML and
the Microsoft
®
.NET
Platform


Information in this document, including URL and other Internet Web site references, is subject to
change without notice. Unless otherwise noted, the example companies, organizations, products,
domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious,
and no association with any real company, organization, product, domain name, e-mail address,
logo, person, places or events is intended or should be inferred. Complying with all applicable
copyright laws is the responsibility of the user. Without limiting the rights under copyright, no
part of this document may be reproduced, stored in or introduced into a retrieval system, or
transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or
otherwise), or for any purpose, without the express written permission of Microsoft Corporation.



Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual
property rights covering subject matter in this document. Except as expressly provided in any
written license agreement from Microsoft, the furnishing of this document does not give you any
license to these patents, trademarks, copyrights, or other intellectual property.

 2001 Microsoft Corporation. All rights reserved.

Microsoft, MS-DOS, Windows, Windows NT, ActiveX, BackOffice, bCentral, BizTalk,
FrontPage, MSDN, MSN, Netshow, PowerPoint, SharePoint, Visio, Visual Basic, Visual C++,
Visual C#, Visual InterDev, Visual Studio, Windows Media, and Xbox are either registered
trademarks or trademarks of Microsoft Corporation in the U.S.A. and/or other countries.

The names of actual companies and products mentioned herein may be the trademarks of their
respective owners.


Course Number: 2500A
Part Number: X08-65210
Released: 12/2001
Introduction to XML and the Microsoft® .NET Platform iii


Contents

Introduction
Course Materials ......................................................................................................2

Prerequisites.............................................................................................................3


Course Outline .........................................................................................................4

Setup ........................................................................................................................7

Microsoft Certified Professional Program ...............................................................8

Facilities.................................................................................................................10

Module 1: The Microsoft .NET Platform and XML
Overview..................................................................................................................1

Lesson: XML in the .NET Platform.........................................................................2

Lesson: XML as a W3C Standard..........................................................................12

Module 2: Basic XML
Overview..................................................................................................................1

Lesson: The Form of XML......................................................................................2

Lesson: Designing an XML Vocabulary ...............................................................13

Lesson: Namespaces ..............................................................................................17

Lab 2: Designing an XML Vocabulary..................................................................25

Review ...................................................................................................................28

Module 3: Validating XML
Overview..................................................................................................................1


Lesson: Introducing Validation................................................................................2

Lesson: Using XSD Schemas ................................................................................11

Quiz........................................................................................................................15

Lab 3: Using Office XP to Generate a Schema......................................................16

Module 4: Technologies for Handling XML Data
Overview..................................................................................................................1

Lesson: Metadata and XML Processing ..................................................................2

Lesson: XML Processing Technologies ..................................................................6

Module 5: Creating and Manipulating Trees Using DOM
Overview..................................................................................................................1

Lesson: How Does DOM Work?.............................................................................2

Lesson: Using DOM and the .NET Framework XML Classes................................8

Lab 5: Changing a DOM Tree ...............................................................................16

Review ...................................................................................................................26

Module 6: Using XPath to Navigate a Tree of Nodes
Overview..................................................................................................................1


Lesson: What Is XPath?...........................................................................................2

Lesson: Using XPath..............................................................................................11

Lesson: The Range of Application of XPath .........................................................21

Lab 6: Using XPath to Navigate and Select Data ..................................................27

Review ...................................................................................................................37
iv Introduction to XML and the Microsoft® .NET Platform


Module 7: Formatting and Transforming: XSL and XSLT
Overview................................................................................................................. 1

Lesson: Defining XSL ............................................................................................ 2

Lesson: Transforming XML Using XSLT.............................................................. 8

Lesson: XSLT in the Microsoft .NET Framework ............................................... 20

Lab 7: Creating and Editing XSLT in FrontPage 2002 and Visual Studio .NET . 25

Review .................................................................................................................. 31

Module 8: Using XQuery to Link and Query XML Documents
Overview................................................................................................................. 1

Lesson: What Is XQuery? ....................................................................................... 2


Lesson: Using XQuery.......................................................................................... 11

Lab 8: Using Simple and Advanced XQuery Expressions.................................... 17

Review .................................................................................................................. 22

Course Evaluation................................................................................................. 23

Module 9: SQL XML
Overview................................................................................................................. 1

Lesson: XML Support in SQL Server 2000............................................................ 2

Lesson: Using HTTP to Access and Input XML Data.......................................... 10

Lab 9: Creating SQL Queries Using XML ........................................................... 17

Review .................................................................................................................. 22

Module 10: The Challenge of Designing XML Solutions
Overview................................................................................................................. 1

Lesson: Solutions That Use XML........................................................................... 2

Lesson: XML Web Services ................................................................................. 17

Lesson: What Is Next? .......................................................................................... 27

Lab 10: Building a Menu System.......................................................................... 32


Review .................................................................................................................. 36

Course Evaluation................................................................................................. 37

Appendix A: XML Schema Data Types
Appendix B: What Is XQueryX?
Appendix C: Appendix to Chapter 9: SQL XML
Lesson: FOR XML and OpenXML ........................................................................ 1

Lesson: Manipulating XML Using Transact-SQL.................................................. 8

Lesson: Retrieving XML Data with ADO and ADO.NET ................................... 12

Lesson: Using Mapping Schemas ......................................................................... 13

Lesson: Updategrams and Bulk Load ................................................................... 18

Lesson: Ideas and the Future of XML and SQL ................................................... 22

Lab 9: Creating SQL Queries Using XML ........................................................... 27

Introduction to XML and the Microsoft® .NET Platform v


About This Course
This section provides you with a brief description of the course, audience,
suggested prerequisites, and course objectives.
This two-day instructor-led course provides a technological overview of the
structure and programming techniques of Extensible Markup Language (XML).
This course discusses the role of XML in the Microsoft

®
.NET vision and the
larger world of distributed standards-based computing.
This course provides students with:
!
An introduction to the curriculum trainings for developer training.
!
A first course in the XML data access track.
!
An introduction to .NET.

The audience for this course is very broad and includes the following:
!
Microsoft Visual Basic
®
developers with little Web development training or
job experience
!
Web developers with moderate experience writing client scripts by using
Common Gateway Interface (CGI), Visual Basic Scripting Edition
(VBScript), Practical Extraction and Report Language (PERL), Java Script,
or some other scripting language
!
Web developers with moderate experience developing Web sites by using
Microsoft FrontPage
®
or some other Web page development tool and basic
Hypertext Markup Language (HTML) knowledge
!
Microsoft Office developers

!
Microsoft SQL Server

2000 administrators and developers

This course requires that students meet the following prerequisites:
!
Intermediate-level courseware or work experience using a scripting or
programming language
!
Intermediate working knowledge of HTML
!
Working knowledge of how databases are used in distributed computing
environments

Description
Audience
Student Prerequisites

×