did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780471416203

XSL Essentials

by
  • ISBN13:

    9780471416203

  • ISBN10:

    0471416207

  • Edition: CD
  • Format: Paperback
  • Copyright: 2001-09-01
  • Publisher: John Wiley & Sons Inc
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $44.99

Summary

By allowing us to style and reformat XML content, XSL (eXtensible Stylesheet Language) adds flexibility and power to the hugely popular XML. This one-of-a-kind resource gives developers all the information they need to understand and apply this highly effective Web tool. Using extensive samples and source code, XML expert Mike Fitzgerald walks readers through all facets of XSL, including transforming and formatting documents to an XML path language, numbered and sorted lists, conditional processing and loops, output methods, advanced formatting, and shorthand properties. Readers will get expert guidance on translating XML documents with XSLT (XSL Transformation) and formatting with XSLFO (XSL Formatting Objects). As part of the exciting new Wiley XML Essentials Series, this excellent resource features an appendix listing all XSL elements and XSLFO formatting objects and formatting properties, source code indexing, and more.

Table of Contents

Acknowledgments xv
Introduction xvii
Part One Transforming XML Documents 1(250)
A Simple Transformation
3(24)
What Can You Do with XSLT?
4(1)
A Simple XSLT Example
4(2)
What Just Happened?
5(1)
The XML Document
6(4)
The XML Declaration
6(1)
Character Encoding
6(1)
The standalone Attribute
7(1)
The PI
7(1)
Order, the Root Element
8(1)
A Gang of Siblings
8(2)
The XSLT Stylesheet
10(4)
The stylesheet and transform Elements
11(1)
The version Attribute
12(2)
The output Element
14(1)
The Template
15(5)
The Source Tree and the Result Tree
16(1)
Transforming order.xml with MSXSL on Windows
17(1)
Transforming order.xml with Xalan on Linux
17(1)
Transforming order.xml with Instant Saxon on Windows
18(1)
Transforming order.xml with XT
19(1)
A List of XSLT Processors
20(2)
Output Methods
22(3)
The method Attribute
23(1)
Output Defaults
24(1)
Next Stop: XML Output
25(2)
XML Output
27(20)
Applying the Default XML Output Method
28(2)
Literal Result Elements
28(2)
More output Element Options
30(8)
Multiple output Elements
30(2)
Controlling the XML Declaration
32(2)
Controlling the Document Type Declaration
34(2)
Indenting Output
36(1)
CDATA Sections
37(1)
Media Type
37(1)
An Example Using the output Element
38(1)
Creating Content in the Result Tree
38(7)
The processing-instruction Element
39(1)
The comment Element
39(1)
The element Element
40(2)
The attribute Element
42(1)
The text Element
43(1)
One Last Example
44(1)
On to HTML Output
45(2)
HTML and XHTML Output
47(24)
Default HTML Output
48(4)
Adding Style to HTML with CSS
52(2)
The HTML Output Method
54(3)
Indenting HTML
54(1)
Adding an HTML Document Type Declaration
55(1)
The Remaining Stipulations of HTML Output
56(1)
Creating an HTML Table
57(1)
Processing a Regular Structure with for-each
58(6)
Turning Your HTML Output into XHTML
64(4)
HTML Tidy
67(1)
Transforming XHTML to XML
68(2)
Getting More Results
70(1)
Getting More Results
71(36)
What's a Node, Anyway?
71(10)
Node-Sets
72(2)
Location Paths
74(7)
Copying Nodes
81(6)
The copy Instruction Element
82(2)
The copy-of Element
84(3)
Calling Named Templates
87(5)
The include Element
88(1)
The Identity Transform
89(3)
Modes
92(3)
The param Element
94(1)
Controlling Whitespace
95(7)
The output Element's indent Attribute
96(1)
Adding Linefeed and Carriage Return Characters Directly
96(1)
End-of-Line Normalization
97(1)
The xml:space Attribute
97(1)
The strip-space and preserve-space Elements
98(4)
A Literal Result Element Stylesheet
102(2)
An Embedded Stylesheet
104(2)
Sorting Things Out
106(1)
Sorting and Numbering Lists
107(30)
Sorting by Text
107(6)
sort's lang Attribute
109(1)
Sorting Text by Descending Order: The order Attribute
110(1)
Sorting Text by Case: The case-order Attribute
111(2)
Sorting by Numbers: The data-type Attribute
113(3)
Sorting Twice
114(2)
Generating Numbers
116(13)
Numbering Levels
119(1)
number's level Attribute
120(4)
The any Level
124(1)
What's the Difference between single, multiple, and any?
125(4)
Formatting Numbers
129(7)
A Few Notes on CSS
132(2)
The decimal-format Element
134(2)
On to Conditional Processing
136(1)
Conditional Processing
137(16)
The if Element
137(7)
The test Attribute
139(2)
Searching country-codes.xml
141(3)
The choose Element
144(5)
The Java if-else Statement
144(2)
The otherwise Element
146(3)
Conditional Processing with for-each
149(3)
Comparing the Java For Loop
150(2)
Variables and Parameters
152(1)
Variables and Parameters
153(20)
Declaring Variables in Java
153(1)
What's the Difference?
154(2)
Global and Local Variables
156(4)
Enhancing order.xml
160(2)
Attribute Value Templates
161(1)
New Elements in order-new.xml
162(1)
Datatypes
162(8)
Node-Set Type
162(2)
String Type
164(1)
Number Type
165(2)
Boolean Type
167(1)
Result Tree Fragment Type
168(2)
The with-param Element
170(1)
Using Multiple Documents
171(2)
Multiple Documents
173(28)
Processing Additional XML Documents
173(10)
Base URI
175(1)
A Node-Set Argument to document()
176(2)
Two Node-Set Arguments to document()
178(1)
Adding a Node-Set after document()
179(1)
Referring to the Stylesheet with document()
180(1)
Loading a SOAP Envelope with document()
181(2)
Including Stylesheets
183(7)
More Details of include
183(2)
A Multiple Stylesheet Example
185(5)
Importing Stylesheets
190(10)
Generating Reports
191(4)
Template Priority
195(2)
Using the apply-imports Element
197(3)
Winding Down
200(1)
More XSLT
201(50)
XPath Axes
201(10)
XPath Axes Examples
203(4)
A Commerce XML Example
207(4)
Using Keys
211(5)
Defining Several Keys
213(2)
Using Keys as Cross-References
215(1)
XSLT Functions
216(5)
Brief XSLT Function Examples
216(5)
XPath Functions
221(14)
Brief XPath Function Examples
223(12)
Node Tests
235(2)
Additional Node Tests
236(1)
Operators and Specifiers
237(3)
Extension Elements and Functions
240(5)
Declaring a Namespace for Extensions
240(1)
Extension Elements
240(3)
Fallback and Messages
243(1)
Checking the Availability of Extensions
244(1)
Aliasing Namespace Prefixes
245(3)
Forwards Compatibility
248(1)
Java XSLT Processors
248(2)
Using the Saxon Full Java Version
249(1)
On to Part Two
250(1)
Part Two Formatting XML Documents 251(50)
A Simple Formatted Document
253(20)
Revisiting an Earlier XSLFO Example
254(3)
Getting Started with FOP
257(5)
Using fop.bat or fop.sh
259(1)
Processing Files with Java AWT
260(1)
Processing Files as MIF Files
260(1)
Transforming and Formatting Files at the Same Time
261(1)
The XSLFO Basics
262(3)
Namespace and Root
262(1)
Page Masters
263(1)
Defining the Geometry of a Page
263(2)
Defining the Page
265(1)
The region-body Object
266(1)
The Other Page Regions
267(1)
Inserting Static Content
267(1)
Block Formatting Objects
268(1)
The Inline Formatting Object
269(1)
Enhancing the Appearance of the Order
270(2)
XSLFO Tables and Lists
272(1)
XSLFO Tables, Lists, and More
273(16)
Formatting Tables
273(5)
XSLFO Table Formatting Objects
275(3)
Formatting Lists
278(4)
Other Formatting Objects
282(1)
Additional Formatting Properties
282(2)
The Area Model
284(2)
XSLFO Expressions and Functions
286(2)
Last Words
288(1)
XSL Technology Review
289(12)
The Seven Nodes Types
289(3)
A View of the Tree
290(1)
The Tree Data Model
291(1)
Processing Stylesheets
292(4)
Templates
293(2)
Variables and Parameters
295(1)
Working with Namespaces
295(1)
Extensions
295(1)
The Result Tree
296(1)
Whitespace Handling
296(1)
Formatting
296(1)
A Look Ahead
297(3)
On the Shoulders of Giants
300(1)
Index 301

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program