Tài liệu Building XML-Based Web Applications - Pdf 84


Course Number: 1905A Released: 04/07/00

Delivery Guide
Building XML-Based
Web Applications
Part Number: X05-42123

Information in this document is subject to change without notice. The names of companies,
products, people, characters, and/or data mentioned herein are fictitious and are in no way intended
to represent any real individual, company, product, or event, unless otherwise noted. Complying
with all applicable copyright laws is the responsibility of the user. No part of this document may
be reproduced or transmitted in any form or by any means, electronic or mechanical, for any
purpose, without the express written permission of Microsoft Corporation. If, however, your only
means of access is electronic, permission to print one copy is hereby granted.

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.

 2000 Microsoft Corporation. All rights reserved.

Microsoft, ActiveX, FrontPage, IntelliSense, MSDN, PowerPoint, Visual Basic, Visual C++,
Visual InterDev, Visual Studio, and Windows are either registered trademarks or trademarks of

Released: 04/07/00
Building XML-Based Web Applications iii Contents

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

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

Course Objectives ................................................................................................... 4

Course Outline ........................................................................................................ 5

Course Outline (continued) ..................................................................................... 6

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

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

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

Module 1: Overview of XML Documents
Overview................................................................................................................. 1

Structuring Data ...................................................................................................... 2

What is XML?....................................................................................................... 10


Lab 3.1: Creating and Using an Active Server Page............................................. 22

Accessing Data with ADO.................................................................................... 29

Returning XML to the Client ................................................................................ 42

Lab 3.2: Querying a Database and Returning XML Data..................................... 50

Review .................................................................................................................. 63

Module 4: Displaying an XML Document Using XSL
Overview................................................................................................................. 1

Transforming XML with XSL ................................................................................ 2

Using Templates ..................................................................................................... 9

Filtering and Sorting XML.................................................................................... 22

XSL Language Constructs .................................................................................... 33

Creating New Nodes Dynamically........................................................................ 39

Lab 4: Displaying an XML Document Using XSL............................................... 44

Review .................................................................................................................. 52

Module 5: Embedding XML Data in HTML
iv Building XML-Based Web Applications


Lab 6.3: Displaying XML Data Using DOM........................................................ 65

Review .................................................................................................................. 72

Module 7: Posting XML Data from Client to Server
Overview................................................................................................................. 1

Preparing XML Data on the Client ......................................................................... 2

Posting Data to the Server..................................................................................... 11

Lab 7.1: Sending XML Packets to the Server....................................................... 16

DOM Manipulation on the Server......................................................................... 24

Receiving the Response on the Client................................................................... 36

Lab 7.2: Processing XML Packets at the Server ................................................... 42

Review .................................................................................................................. 54

Module 8: Validating XML Data Using Schemas
Overview................................................................................................................. 1

The Need for Validation.......................................................................................... 2

Writing an XML Schema...................................................................................... 15

Extending an XML Schema .................................................................................. 34


Lab 6.3: Displaying XML Data Using DOM........................................................ 35

Building XML-Based Web Applications v Lab 7.1: Sending XML Packets to the Server....................................................... 41

Lab 7.2: Processing XML Packets at the Server ................................................... 47

Lab 8: Validating XML Data Using Schemas ...................................................... 59

Appendix B


Nhờ tải bản gốc

Tài liệu, ebook tham khảo khác

Music ♫

Copyright: Tài liệu đại học © DMCA.com Protection Status