Special Edition Using XSLT

Special Edition Using XSLT



Temporarily Out of Stock Online

Eligible for FREE SHIPPING


Special Edition Using XSLT by Michael Floyd, David Gulbransen, Mark Wutka, Joe Hinder

One of the major premises of XML is that it allows the separation of data, program logic, and presentation. A cornerstone of this is the eXtensible Stylesheet Language (XSL). Special Edition Using XSLT shows you how to take advantage of XSL to create device-independent applications or map data between differing schemas. It introduces key XSL concepts, then shows how to apply them in real-world situations. Each chapter starts by defining the main concept, introduces supporting theory, and then follows with examples of typical real-world situations. Part 1 lays the foundations of XSL and XSLT development, including coverage of XPath. Part 2 builds on this foundation, focusing on XSLT and providing several collections of transformations that are useful in typical situations. Part 3 focuses on development techniques, including methods for manipulating stylesheets programmatically, dynamic stylesheet generation, debugging strategies and server-side development using either Microsoft or Java technologies. Finally, the appendices provide language references for XSLT, XSL-FO, and XPath.

Product Details

ISBN-13: 9780789725059
Publisher: Pearson Education
Publication date: 01/28/2002
Series: Special Edition Using Series
Pages: 467
Product dimensions: 7.44(w) x 9.04(h) x 1.09(d)

Table of Contents

Roadmap to Special Edition Using XSLT3
Conventions Used in This Book5
The Metamorphosis Begins6
1The Essence of XSL9
What Is XSL?10
Benefits of XSL11
XSL Features11
Applying XSLT14
In Practice17
2XSL Jumpstart19
XSL Processing20
Creating the Stylesheet22
Templates and Template Rules24
Understanding Patterns25
Creating Text26
Getting the Content of an Element27
Outputting the Results28
Applying Style Sheets Dynamically29
Retrieving Attributes30
Adding New Template Rules31
In Practice36
XPath Defined40
XPath in XSL and XSLT40
XPath Data Model41
Location Paths45
Positional Predicates59
Function Calls60
In Practice64
4The XSL Transformation Language67
Defining XSLT68
Processing Style Sheets68
Linking Your Style Sheet69
Style Sheet Structure70
Creating Elements and Attributes82
Iterative Processing86
Conditional Processing90
Other Elements97
In Practice99
5XSL Formatting Objects109
Introducing XSL Formatting Objects110
Basics of XSL-FO111
A Basic XSL-FO Document111
Content Areas121
Inline Objects123
Out-of-Line Objects127
Background and Color Properties135
Borders and Padding136
Font Properties138
Aural Properties140
Integrating XSLT and XSL-FO140
In Practice150
IIUseful Transformations
6Transforming XML into HTML157
HTML's Role as an Output Format158
A Basic HTML Transformation160
Dealing with HTML Elements That Are Not Well Formed163
Linking in Cascading Style Sheets165
Processing Database Records167
Providing Multiple Views of a Data Set170
Customized Views for Different Browsers175
In Practice177
7Transforming from XML to XML193
Why Transform from XML to XML?194
Mapping XML Schema Types194
Dependency of Style Sheets on the Source Document195
Generating Wireless Markup200
In Practice215
8Web Services and WSDL217
An Overview of Web Services218
Touring Web Services219
Web Services Description Language221
WSDL and XSLT231
In Practice237
IIIDevelopment Techniques
9Server-Side Transformations Using ASP243
Overview of Server-Side XML Processing244
Quick Tour of Active Server Pages245
Overview of the Document Object Model (DOM)248
Using the DOM on the Server251
Putting the DOM to Work251
Orchestrating Transformations Using SAX257
In Practice263
10Server-Side Transformations Using JSP273
Overview of Server-Side XML Processing274
Overview of JavaServer Pages (JSP)274
Loading XML Documents281
Applying an XSLT Style Sheet285
Using XSLT Without DOM289
Sample Applications290
In Practice300
11Dynamic XSLT Generation305
Manipulating XSLT Using DOM306
Practical Considerations306
Automating the Transformation312
Building a Parser314
Assembling the Scripts317
Finally...the XML321
Further Customizing Dynamic Documents322
In Practice323
12Debugging XSLT327
When Things Go Wrong328
Understanding the Application328
Asking the Right Questions329
Checking the Style Sheet331
Debugging Style Sheets334
Checking XPath Expressions339
Handling Irregular Data341
13Transforming XML with .NET349
XSLT and .NET350
Transformations with .NET351
In Practice358
AXSLT Element and Function Reference363
Alphabetical Listing of XSLT Elements364
Alphabetical Listing of XSLT Functions383
BXSL Basic Formatting Objects and Properties Reference391
Pagination and Layout392
Block Formatting Objects401
Inline Formatting Objects405
Table Formatting Objects411
List Formatting Objects419
Other Key Formatting Objects421
Complete Alphabetical Listing of Formatting Properties422
CXPath Expressions Reference431
XPath Abbreviated Syntax432
XPath Axis Types432
XPath Core Function Library434

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews