Advanced XML Applications from the Experts at The XML Guild / Edition 1

Advanced XML Applications from the Experts at The XML Guild / Edition 1

by The XML Guild, XML Guild Staff, Thomson Course Technology PTR Development Staff
     
 

ISBN-10: 1598632140

ISBN-13: 9781598632149

Pub. Date: 12/19/2006

Publisher: Cengage Learning

Numerous books abound for the beginning programmer who wants to learn XML, but there are few learning resources available for those who are already proficient in XML and need expert-level advice to help maximize their workflow. Advanced XML Applications from the Experts at The XML Guild provides such a resource, written by the expert programmers at The XML Guild.

Overview

Numerous books abound for the beginning programmer who wants to learn XML, but there are few learning resources available for those who are already proficient in XML and need expert-level advice to help maximize their workflow. Advanced XML Applications from the Experts at The XML Guild provides such a resource, written by the expert programmers at The XML Guild. The book is not intended to be another exhaustive XML "bible," rather, it's a collection of advanced tips and techniques that the authors have used in the real world-and are now happy to share with you. Each chapter is written by the guild member considered to be the expert on a particular topic.

Product Details

ISBN-13:
9781598632149
Publisher:
Cengage Learning
Publication date:
12/19/2006
Edition description:
1ST
Pages:
384
Product dimensions:
7.30(w) x 9.00(h) x 1.40(d)

Table of Contents


XML Namespaces     1
Understanding Namespaces     1
Motivation for Using XML Namespaces     1
Namespaces Grafted into the Foundation     2
A Namespaces Primer     3
QNames in Content     9
Un-Declaring Namespaces     12
Using Namespaces in XSLT     15
Processing Namespaces     15
Constructing Namespaces     21
Summary     35
XML Schema Languages     37
XML Schema Technology Overview     37
Co-Occurrence Constraints     39
The Use Case (Example)     39
W3C XML Schema     40
RELAX NG Alone     56
W3C XML Schema and the Schematron Constraint     64
Constraint on Repeated Elements     69
The Use Case     69
W3C XML Schema     70
RELAX NG Alone     71
W3C XML Schema or RELAX NG with Schematron     72
Microformats     76
The Use Case     76
W3C XML Schema     77
RELAX NG     77
Schematron     81
Transformations Needed     82
Wrapping Up     86
Confirm That You've ReallyHit a Limitation     86
Consider Using a Workaround     88
Look at Other Schema Languages     89
Think Differently     89
Summary     90
XSLT     91
XPath     91
Running XSLT     91
XSLT 1.0     92
XSLT 1.0 Elements     93
Document Elements     93
Top-Level Elements     94
Instruction Elements     95
Push versus Pull     96
Using XSLT to Convert XML to HTML     96
The "Pull" Method     96
The "Push" Method     97
Tips and Tricks for XSLT 1.0     99
Dynamic XML Transformation Using XSLT     99
xml-to-string.xsl     100
Namespace Declaration Normalizer     100
Excel Spreadsheet Cleanup     102
Reversing a Table     104
Generating XSLT with XSLT     106
Building a Data Mapping Stylesheet from a Mapping Expressed in XML     107
Parsing Strings with XSLT     110
Using XSLT to Convert XML to Java/C# Code     115
XSLT Example of "for i=1 to n do"     119
Muenchian Method for Grouping     119
Handling Character Entities in XSLT 1.0     122
XPath 1.0 Subtleties     128
Using position() Properly     128
Using Variables to Store Literal or Numeric Values     130
XSLT 2.0     130
XSLT 2.0 Features Overview     132
Temporary Trees     132
Grouping     133
Regular Expressions     138
Sequences     139
Multiple Output Files     140
Stylesheet Functions     141
Schema Awareness and Type Checking     142
Handling Special Characters     142
Tunnel Parameters     144
Next Match     144
Summary     145
Web Services     147
Functional Overview     147
Web Services Technology Overview     150
Examples of Web Services     150
SOAP     152
SOAP Messaging and HTTP Binding     152
SMTP Bindings     152
Example SOAP Messages     153
SOAP and RPCs     154
WSDL and SOAP     154
WSDL Message     155
WSDL Binding     155
WSDL Service     155
Example WSDL Message      156
UDDI     159
WS-I     163
WS-I Profiles     164
WS-I Sample Applications     164
WS-I Testing Tools     164
Alternatives: REST and ebXML     165
REST     165
ebXML     166
Summary     166
XML APIs     167
Comparison of XML APIs     168
Streaming APIs     168
SAX     169
XMLReader     179
StAX     182
Random-Access APIs     185
DOM     186
dom4i, JDOM, and XOM     189
VTD-XML     189
JAXP XPath     189
XPathDocument (.NET, Mono)     191
Schema Compilers     193
JAXB     195
.NET XML Schema Definition Tool     203
C24 10     206
Relaxer     209
XML-Object Mappers     209
Object Serializers     210
Transformers     211
JAXP Transformation API (TrAX)     211
System.XmI.XsI     214
XQJ     216
Selecting the Right XML API for the Job     216
Choose the Right Kind of Efficiency      216
Use Multiple XML APIs When Appropriate     217
Robustness of XML APIs     218
Summary     219
XML and Databases     221
Approaches to Storing XML Data     222
Using Blob Storage     224
Using Shredded Storage     225
Using Native Storage     228
The Role of Schemas in XML Storage and Query     229
Schema-Awareness in XQuery     231
Managing Schema Variety and Change     234
When Not to Use a Schema     237
Choosing a Database Product     238
Summary     242
XQuery     243
XQuery Data Model     243
Atamic Values     244
Nodes     244
Sequences     245
Constructs Not in XQuery Data Model     246
Grammar Notes     246
Constructors     246
Expressions     247
Enclosed Expressions     248
Comma Operators     250
Path Expressions     250
Selecting the Root Element     251
Selecting Child Elements     251
Selecting Attributes     252
Restricting the Selection      253
How Do Path Expressions Work?     253
FLWOR Expressions     259
For Clauses     260
Let Clauses     261
Where Clauses     264
Order By Clauses     265
Joining Documents with FLWOR Expressions     266
Other Expressions     269
Arithmetic Expressions     269
Comparison Expressions     269
Conditional Expressions (if-then-else)     270
Set Expressions     271
Functions     271
Input Functions     271
String and Data Functions     272
User-Defined Functions     274
Datatypes     276
Using XQuery without Datatypes     276
Using XQuery with Datatypes     278
Expressions That Use Datatypes     280
Some Important Details     281
Atomization     281
Effective Boolean Values     282
Modules and Prologs     283
Library Modules     283
Global Variables     285
Namespaces     285
Summary     286
XML Authoring     289
Defining an XML Authoring Environment     290
Using a WYSIWYG Authoring Tool     290
Using XML IDE     291
Using Standard Word Processing     291
Converting Data into XML     292
Selecting an Appropriate Schema     292
Schema Constructs That Affect Authors     293
Approaches for Difficult Schema Structures     297
Tables     297
Common Standard Schemas     302
Form-Based Authoring     303
HTML Custom Forms     303
Creating Forms with XForms     307
Summary     310
XSL-FO     311
XML Transformation and Rendering Using HTML     313
XML Transformation and Pagination Using XSL-FO     313
The XSL-FO Processing Model     314
Bordering and Area Tree Rectangles     316
Un-Bordered and Bordered Areas     316
Area Placement for Block-Level Constructs     320
Area Placement for Inline-Level Constructs     323
Area Backgrounds     325
Bidirectional Text Protection     326
Unicode Directionality     326
Formatting Without Consideration for Direction     328
Formatting with Consideration for Direction     330
Disambiguation and Aggregation in Area Tree References     333
A Problem of Ambiguity     334
Adding Stylesheet References     336
Making Numerous References     337
Retrieve-Marker Arbitration     338
Summary     341
XML Tools and Implementations     343
Index     355

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >