search for books and compare prices
Tables of Contents for Xslt Cookbook
Chapter/Section Title
Page #
Page Count
Preface
9
 
Strings
1
25
Testing if a String Ends with Another String
2
1
Finding the Position of a Substring
2
1
Removing Specific Characters from a String
3
1
Finding Substrings from the End of a String
4
2
Duplicating a String N Times
6
3
Reversing a String
9
4
Replacing Text
13
4
Converting Case
17
2
Tokenizing a String
19
3
Making Do Without Regular Expressions
22
1
Using the EXSLT String Extensions
23
3
Numbers and Math
26
49
Formatting Numbers
27
9
Rounding Numbers to a Specified Precision
36
1
Converting from Roman Numerals to Numbers
37
2
Converting from One Base to Another
39
4
Implementing Common Math Functions
43
11
Computing Sums and Products
54
4
Finding Minimums and Maximums
58
7
Computing Statistical Functions
65
3
Computing Combinatorial Functions
68
1
Testing Bits
69
6
Dates and Times
75
34
Calculating the Day of the Week
77
1
Determining the Last Day of the Month
78
1
Getting Names for Days and Months
79
3
Calculating Julian and Absolute Day Numbers from a Specified Date
82
3
Calculating the Week Number for a Specified Date
85
1
Working with the Julian Calendar
86
1
Working with the ISO Calendar
87
3
Working with the Islamic Calendar
90
2
Working with the Hebrew Calendar
92
9
Formatting Dates and Times
101
5
Determining Secular and Religious Holidays
106
3
Selecting and Traversing
109
40
Optimizing Node Selections
111
9
Determining if Two Nodes Are the Same
120
3
Ignoring Duplicate Elements
123
4
Selecting All but a Specific Element
127
1
Performing a Preorder Traversal
128
4
Performing a Postorder Traversal
132
2
Performing an In-Order Traversal
134
4
Performing a Level-Order Traversal
138
5
Processing Nodes by Position
143
6
XML to Text
149
52
Dealing with Whitespace
150
5
Exporting XML to Delimited Data
155
15
Creating a Columnar Report
170
10
Displaying a Hierarchy
180
8
Numbering Textual Output
188
9
Wrapping Text to a Specified Width and Alignment
197
4
XML to XML
201
35
Converting Attributes to Elements
202
2
Converting Elements to Attributes
204
3
Renaming Elements or Attributes
207
5
Merging Documents with Identical Schema
212
5
Merging Documents with Unlike Schema
217
6
Splitting Documents
223
1
Flattening an XML Hierarchy
224
4
Deepening an XML Hierarchy
228
4
Reorganizing an XML Hierarchy
232
4
Querying XML
236
52
Performing Set Operations on Node Sets
237
3
Performing Set Operations on Node Sets Using Value Semantics
240
9
Determining Set Equality by Value
249
4
Performing Structure-Preserving Queries
253
2
Joins
255
5
Implementing the W3C XML Query-Use Cases in XSLT
260
28
XML to HTML
288
36
Using XSLT as a Styling Language
289
4
Creating Hyperlinked Documents
293
3
Creating HTML Tables
296
7
Creating Frames
303
5
Creating Data-Driven Stylesheets
308
6
Creating a Self-Contained HTML Transformation
314
4
Populating a Form
318
6
XML to SVG
324
64
Transforming an Existing Boilerplate SVG
325
7
Creating Reusable SVG Generation Utilities for Graphs and Charts
332
36
Creating a Tree Diagram
368
10
Creating Interactive SVG-Enabled Web Pages
378
10
Code Generation
388
61
Generating Constant Definitions
396
4
Generating Switching Code
400
5
Generating Message-Handling Stub Code
405
3
Generating Data Wrappers
408
4
Generating Pretty Printers
412
8
Generating a Test Data-Entry Web Client
420
1
Generating Test-Entry Web CGI
421
5
Generating Code from UML Models via XMI
426
16
Generating XSLT from XSLT
442
7
Vertical XSLT Application Recipes
449
69
Converting Visio VDX Documents to SVG
450
13
Working with Excel XML Spreadsheets
463
7
Generating XTM Topic Maps from UML Models via XMI
470
20
Generating Web Sites from XTM Topic Maps
490
14
Serving SOAP Documentation from WSDL
504
14
Extending and Embedding XSLT
518
51
Using Saxon's and Xalan's Native Extensions
525
12
Extending XSLT with JavaScript
537
6
Adding Extension Functions Using Java
543
6
Adding Extension Elements Using Java
549
14
Using XSLT from Perl
563
3
Using XSLT from Java
566
3
Testing and Debugging
569
26
Using xsl:message Effectively
570
2
Tracing the Flow of Your Stylesheet Through Its Input Document
572
5
Automating the Insertion of Debug Output
577
7
Including Embedded Unit Test Data in Utility Stylesheets
584
5
Structuring Unit Tests
589
2
Testing Boundary and Error Conditions
591
4
Generic and Functional Programming
595
46
Creating Polymorphic XSLT
600
7
Creating Generic Element Aggregation Functions
607
13
Creating Generic Bounded Aggregation Functions
620
7
Creating Generic Mapping Functions
627
8
Creating Generic Node-Set Generators
635
6
Index
641