Tables of Contents for Professional Asp Xml
What Does this Book Cover?
1
1
How is this Book Structured?
2
3
Working with XML and ASP
2
2
What You Need to Use this Book
5
1
Introduction to eXtensible Markup Language
9
16
A Word on Markup Languages
10
2
Languages and Metalanguages
12
1
HTML's Place in the Universe
12
1
More than A Little Something for the Web
13
2
The Self-Describing Document
15
1
A Well-formed Document
15
1
Getting Started with XML
16
1
You Only Need a Text Editor
16
1
Internet Explorer 5.0 and XML
17
1
Parents, Children, Grand Children, and so on...
18
1
Incorporating Multiple Records
20
2
Understanding XML Structure and Syntax
25
12
Open, Close, and Empty
30
1
Processing Instructions
34
1
Validating XML with the DTD
37
18
The Element Declarations
41
1
The Multiple Declaration
42
1
Grouping, Occurrence and Element Symbols
43
1
The Attribute Declarations
44
1
The ENTITY Declarations
46
1
General or Internal Entities
46
1
Combining Internal and External DTDs
49
1
Client-Side Validation
50
1
Server-Side Validation
50
2
Validating XML using Schemas
55
18
The Components of a Schema
56
14
Using Multiple Schemas
59
1
Complex Type Definitions
60
1
Using Existing Type Definitions
60
1
Document Object Model
73
38
Multi-Use Content Publishing
74
1
Platform Neutral Data Exchange
75
1
Getting the Right Parser
76
1
MSXML and the W3C XML DOM
77
2
Survey of MSXML Interfaces
79
13
Additions and Changes in the Technology Preview
90
1
Schema and Stylesheet Caching
91
1
Document Loading and Validation
93
1
Getting at an Element's Text
95
2
ID and IDREF Relationships
100
1
Setting the MIME Type
102
1
Returning the Document
107
1
Integrating XML with ASP
111
22
How do ASP and XML Fit Together?
112
3
Examples of Processing XML using ASP Code
115
15
Sending Data Directly to the Browser
115
1
Using XML to Store Web Links and Property Settings
118
4
Using ASP to Manipulate XML Documents
122
1
Defining the Functions
122
3
Testing the Functions
125
1
Editing the Settings File (or Brain...)
126
3
The Colorpicker Example
129
1
Introducing Cascading Stylesheets
134
10
Boxes and the display Property
138
1
padding, margin and border
138
2
Inheritance and Cascading
141
1
Associating CSS with XML Documents
145
1
Linking to External Stylesheets
145
1
Media-specific Styles
147
1
Putting it all Together
150
2
A More Advanced Example
152
7
CSS and XSL: A Comparison
159
5
Transformation Language
160
1
CSS and XSL Working Together
163
1
Mozilla, Gecko, Seamonkey, What's It All About?
164
1
Why Bother with XUL at All?
166
1
An Introduction to XUL
166
1
Directory and File Structure
166
1
DTDs and Localisation
170
1
Other Uses for XML and CSS
170
2
XSL -- Extensible Stylesheet Language
175
26
Using XSL Stylesheets
176
5
Connecting XML to XSL
179
1
Programmatic XSL Transformations
179
2
Finding Data with Patterns
185
2
XSL Information Methods
187
1
Taking Action: Template Bodies
188
1
xsl:choose, xsl:when, xsl:otherwise
190
1
xsl:if and xsl:attribute
191
1
The Complete Stylesheet
192
1
Advanced XSL Techniques
201
26
Enhancing ASP with XSL
202
1
Transforming XML using XSL and ASP
203
6
XSL Templates Revisited
203
2
Using the FileSystemObject Again
206
2
Incorporating Scripting and Logic into XSL
209
14
Requirements for the Collapsing Navigation Tree
210
1
Client-Side Script for DHMTL Effects
213
3
Transforming other XML
222
1
Case Study: Data-Driven XSL
227
12
Meet the Puzzle Pieces
228
1
Integrating ADO and XML
239
20
Deciding on ADO, XML, or Both
240
1
Obtaining XML from ADO
243
2
The ADO XML-Data Schema
245
3
Persisting to Streams
251
1
Persisting from the Request Object
252
2
Client-side Data Binding with XML
259
20
What is Data Binding?
259
5
Data-Management Techniques on the Web
260
1
Data-Binding Technology in Internet Explorer 4 and 5
260
1
The Microsoft Remote Data Service (RDS)
261
1
Data Source Objects for XML
262
2
Source Data Updates with XML
264
1
Displaying XML with Data Binding
264
13
Binding Elements to the Cached Data
265
1
The HTML Elements Used in Data Binding
265
2
Types of Data Binding
267
1
Single Record Data Binding
272
1
Accessing Data in a DSO with Script
275
1
XML Data Binding in IE5 with Attributes
275
2
Working with XML Data Binding
279
22
Creating XML Documents Dynamically
279
11
Creating XML Documents from a Data Store
279
1
Creating XML with ASP Script
280
3
Creating XML with a Custom Component
283
1
Creating XML with the ADO Persistence Methods
283
5
Creating XML with the SQLXML Technology Preview
288
2
Updating the Source XML Document
290
9
Updating with ASP script and the MSXML Component
290
2
Updating with a Custom Component
292
3
Managing Concurrent Updates
295
1
Updating with the ADO Persistence Methods
296
1
Posting XML Documents to a Stream
297
1
Updating with the SQLXML Technology Preview
297
2
Creating XML Procedure Libraries
301
36
The Contents of Our Procedure Library
302
8
A Test Page for the Library Procedures
302
1
The Structure of the Test Page
302
1
About the Procedure Library Include File
303
1
Reading and Writing Text Files
303
1
Reporting Status and Logging Errors
304
1
Procedures for Working with XML Documents
304
1
The Procedure Library File in Outline
305
4
Include File Issues in ASP Pages
309
1
ASP Compiled Code Caching
309
1
Using a Central Library Repository
309
1
The Procedure Functions in Detail
310
25
The CreateScriptingObject Function
310
1
The WriteToLogFile Subroutine
311
1
The GetAbsoluteFilePath Function
311
4
The WriteToFile Function
315
3
The ReadFromFile Function
318
3
The BuidXMLProlog Function
321
2
The LoadAndParseXML Function
323
3
The GetNodesFromXML Function
326
4
The TransformXML Function
330
4
Working with Emerging Standards in XML Technologies
337
32
The Problem with ``Roll Your Own'' Tags
338
1
What are Schema Repositories?
338
1
Benefits of Schema Repositories
339
1
Business Resistance to Schema Repositories
339
1
Currently Existing Schema Repositories
339
1
Do You Have to Choose?
341
1
The BizTalk.org Schema Repository
341
1
The BizTalk Framework
342
1
Anatomy of a BizTalk Document
342
1
A Sample BizTalk Message
343
1
Extending the BizTalk Framework
347
1
BizTalk Framework Summary
348
1
Transmitting XML over the Wire
348
18
Summary of XMLHttpRequest
352
1
Conversation and Message Types
353
1
Layout of the Client-Side Page
358
1
Talking About Problems-SOAP Style
365
1
Summary of SOAP Example
365
1
Case Study -- On-Line Survey Tool
369
78
What are we doing here, anyway?
369
3
Who is this Case Study for?
370
1
Which technology will we use?
370
1
Design Considerations
371
1
Requirements and Parameters
371
1
Attributes for Free-Form Questions
378
3
Multiple-Choice Questions
381
5
Attributes for Multiple-Choice Questions
386
5
Survey Creation Tool (createsurvey.asp)
394
17
Let's Create a Survey!
411
2
Taking a Survey (takesurvey.asp)
413
4
Reporting (showreport.asp)
426
17
XML Schema for Responses
426
6
XSL Transformation for a Basic Report
432
2
Database Schema for Storing Report Definitions
434
9
Case Study -- An On-line Documentation System
447
46
Architectural Overview
448
2
The Left / Middle Systems - Overview
448
1
The Right System - Overview
449
1
The isComponentMgr System
450
2
Case Study -- An Online Shopping Cart
493
30
Our Shopping Cart Application
495
1
The Technology Set-Up
495
1
Other Technical Requirements
496
1
Setting up the Cart Environment
496
25
The Product & Customer DataBase - ShopCart
497
1
Creating a New Cart and Adding Items to a Cart
500
1
Displaying the Cart's Contents
501
1
Deleting Items and Updating Shopping Cart Contents
501
1
Inside the Shopping Cart
508
3
Case Study -- Workflow Application
523
46
Workflow Application Structure
525
2
Project Description - A Workflow Framework
527
4
Functional Requirements
527
1
Functional Requirements
530
1
Technical Requirements
531
1
Workflow Engine Design
539
1
The Workflow Manager Class
540
1
Application Messaging
541
1
Case Study -- Using XML and TIP for Distributed Web Transactions
569
54
The Application Domain
570
1
Presenting a Vehicle List
573
1
Registering the Client Order
574
1
Infrastructure Design
575
1
The Presenter, the Confirm, and the Submit ASP Pages
576
1
The Transaction Broker
576
1
The TIP Transaction Factory
577
1
The XML Bridge Client
577
1
The XML Bridge Server
577
1
The Car Producer Business Component
578
1
Encapsulation All Around
579
1
Exposing Business Logic Through XML
579
1
Technology Background
581
1
The Presenter ASP Page
586
2
The Transaction Broker
591
2
The TIP Transaction Factory
593
2
The XML Bridge Client
595
14
The XML Bridge Server
609
5
The Car Producer Business Component
619
1
Case Study -- Data Transfer
623
26
The Purchase Order Form
626
8
The Purchase Order Processor
634
4
Appendix A: Extensible Markup Language (XML) 1.0 Specification
649
33
Status of this document
650
1
Extensible Markup Language (XML) 1.0
650
1
2.1 Well-Formed XML Documents
654
1
2.3 Common Syntactic Constructs
655
1
2.4 Character Data and Markup
656
1
2.6 Processing Instructions
657
1
2.8 Prolog and Document Type Declaration
658
2
2.9 Standalone Document Declaration
660
1
2.10 White Space Handling
661
1
2.11 End-of-Line Handling
661
1
2.12 Language Identification
662
1
3. Logical Structures
663
8
3.1 Start-Tags, End-Tags, and Empty-Element Tags
664
1
3.2 Element Type Declarations
665
1
3.2.1 Element Content
666
1
3.3 Attribute-List Declarations
667
1
3.3.1 Attribute Types
668
1
3.3.2 Attribute Defaults
669
1
3.3.3 Attribute-Value Normalization
670
1
3.4 Conditional Sections
670
1
4. Physical Structures
671
9
4.1 Character and Entity References
672
1
4.2 Entity Declarations
673
1
4.2.1 Internal Entities
673
1
4.2.2 External Entities
674
1
4.3.1 The Text Declaration
675
1
4.3.2 Well-Formed Parsed Entities
675
1
4.3.3 Character Encoding in Entities
675
1
4.4 XML Processor Treatment of Entities and References
676
1
4.4.3 Included If Validating
677
1
4.4.5 Included in Literal
678
1
4.5 Construction of Internal Entity Replacement Text
678
1
4.6 Predefined Entities
679
1
4.7 Notation Declarations
679
1
5.1 Validating and Non-Validating Processors
680
1
5.2 Using XML Processors
681
1
A.1 Normative References
682
1
C. XML and SGML (Non-Normative)
686
1
D. Expansion of Entity and Character References (Non-Normative)
686
2
E. Deterministic Content Models (Non-Normative)
688
1
F. Autodetection of Character Encodings (Non-Normative)
688
2
G. W3C XML Working Group (Non-Normative)
690
3
Appendix B: Microsoft XML v3.0 Reference
693
48
Appendix C: IE5 XSL Reference
741
16
XSL Stylesheet Structure
743
1
Creating New Nodes in XSL
744
1
XSL Stylesheet Runtime Methods
744
3
The IE5 XSL Pattern-Matching Syntax
747
10
Node Position and Hierarchy
747
1
XSL Filters and Filter Patterns
748
1
Logical Filter Operators
751
1
The Information Methods
753
1
The Collection Methods
753
1
Appendix D: Style Sheet Properties
757
16
Listing of Properties
758
1
Color and Background Properties
759
2
Size and Border Properties
764
5
IE4/5 Unsupported CSS Properties
770
1
Navigator 4 Unsupported CSS Properties
770
3
Appendix E: SAX 1.0: The Simple API for XML
773
24
Interface org.xml.sax.AttributeList
774
2
Interface org.xml.sax.DocumentHandler
776
3
Interface org.xml.sax.DTDHandler
779
1
Interface org.xml.sax.EntityResolver
780
2
Interface org.xml.sax.ErrorHandler
782
1
Class org.xml.sax.HandlerBase
783
2
Class org.xml.sax.InputSource
785
3
Interface org.xml.sax.Locator
788
1
Interface org.xml.sax.Parser
789
2
Class org.xml.sax.SAXException
791
6
Class org.xml.sax.SAXParseException
792
5
Appendix F: XPath, XLink, and XPointer
797
18
Absolute and Relative Paths
799
1
HTML Linking Limitations
803
1
XPointer Extensions to XPath
811
1
Appendix G: IE5 XML Schemas and Data Types
815
12
IE5 XML Schema Elements
816
4
The IE5 XML Schema Structure
820
1
Primitive XML Data Types
824
3
Appendix H: XML Preview for SQL Server
827
14
Virtual Directory Configuration
828
1
Appendix I: Support and Errata
841
8