Critical for converting XML documents, and extremely versatile, the XSLT language nevertheless has complexities that can be daunting. The XSLT Cookbook is a collection of hundreds of solutions to problems that Extensible Stylesheet Language Transformations (XSLT) developers regularly face. The recipes range from simple string-manipulation and mathematical processing to more complex topics like extending XSLT, testing and debugging XSLT stylesheets, and graphics creation with SVG. Recipes can be run directly or tweaked to fit your particular application's needs more precisely.Each recipe walks through a problem and a solution, with explanations of the choices made and techniques used in creating that solution, and many recipes include alternate solutions and explore issues like convenience and performance. Topics covered include:
Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.
Sal Mangano has been developing software for over 12 years and has worked on many mission-critical applications, especially in the area of financial-trading applications. Unlike many XML/XSLT developers, he did not approach the technology from the standpoint of the Internet and Web development but rather from the broader need for a general-purpose, data-transformation framework. This experience has given him a unique perspective that has influenced many of the recipes in his book, the XSLT Cookbook. Sal has a Master's degree in Computer Science from Polytechnic University.
Preface; Structure of This Book; Conventions Used in This Book; How to Contact Us; Acknowledgments; Chapter 1: Strings; 1.1 Testing if a String Ends with Another String; 1.2 Finding the Position of a Substring; 1.3 Removing Specific Characters from a String; 1.4 Finding Substrings from the End of a String; 1.5 Duplicating a String N Times; 1.6 Reversing a String; 1.7 Replacing Text; 1.8 Converting Case; 1.9 Tokenizing a String; 1.10 Making Do Without Regular Expressions; 1.11 Using the EXSLT String Extensions; Chapter 2: Numbers and Math; 2.1 Formatting Numbers; 2.2 Rounding Numbers to a Specified Precision; 2.3 Converting from Roman Numerals to Numbers; 2.4 Converting from One Base to Another; 2.5 Implementing Common Math Functions; 2.6 Computing Sums and Products; 2.7 Finding Minimums and Maximums; 2.8 Computing Statistical Functions; 2.9 Computing Combinatorial Functions; 2.10 Testing Bits; Chapter 3: Dates and Times; 3.1 Introduction; 3.2 Calculating the Day of the Week; 3.3 Determining the Last Day of the Month; 3.4 Getting Names for Days and Months; 3.5 Calculating Julian and Absolute Day Numbers from a Specified Date; 3.6 Calculating the Week Number for a Specified Date; 3.7 Working with the Julian Calendar; 3.8 Working with the ISO Calendar; 3.9 Working with the Islamic Calendar; 3.10 Working with the Hebrew Calendar; 3.11 Formatting Dates and Times; 3.12 Determining Secular and Religious Holidays; Chapter 4: Selecting and Traversing; 4.1 Optimizing Node Selections; 4.2 Determining if Two Nodes Are the Same; 4.3 Ignoring Duplicate Elements; 4.4 Selecting All but a Specific Element; 4.5 Performing a Preorder Traversal; 4.6 Performing a Postorder Traversal; 4.7 Performing an In-Order Traversal; 4.8 Performing a Level-Order Traversal; 4.9 Processing Nodes by Position; Chapter 5: XML to Text; 5.1 Dealing with Whitespace; 5.2 Exporting XML to Delimited Data; 5.3 Creating a Columnar Report; 5.4 Displaying a Hierarchy; 5.5 Numbering Textual Output; 5.6 Wrapping Text to a Specified Width and Alignment; Chapter 6: XML to XML; 6.1 Converting Attributes to Elements; 6.2 Converting Elements to Attributes; 6.3 Renaming Elements or Attributes; 6.4 Merging Documents with Identical Schema; 6.5 Merging Documents with Unlike Schema; 6.6 Splitting Documents; 6.7 Flattening an XML Hierarchy; 6.8 Deepening an XML Hierarchy; 6.9 Reorganizing an XML Hierarchy; Chapter 7: Querying XML; 7.1 Performing Set Operations on Node Sets; 7.2 Performing Set Operations on Node Sets Using Value Semantics; 7.3 Determining Set Equality by Value; 7.4 Performing Structure-Preserving Queries; 7.5 Joins; 7.6 Implementing the W3C XML Query-Use Cases in XSLT; Chapter 8: XML to HTML; 8.1 Using XSLT as a Styling Language; 8.2 Creating Hyperlinked Documents; 8.3 Creating HTML Tables; 8.4 Creating Frames; 8.5 Creating Data-Driven Stylesheets; 8.6 Creating a Self-Contained HTML Transformation; 8.7 Populating a Form; Chapter 9: XML to SVG; 9.1 Transforming an Existing Boilerplate SVG; 9.2 Creating Reusable SVG Generation Utilities for Graphs and Charts; 9.3 Creating a Tree Diagram; 9.4 Creating Interactive SVG-Enabled Web Pages; Chapter 10: Code Generation; 10.1 Generating Constant Definitions; 10.2 Generating Switching Code; 10.3 Generating Message-Handling Stub Code; 10.4 Generating Data Wrappers; 10.5 Generating Pretty Printers; 10.6 Generating a Test Data-Entry Web Client; 10.7 Generating Test-Entry Web CGI; 10.8 Generating Code from UML Models via XMI; 10.9 Generating XSLT from XSLT; Chapter 11: Vertical XSLT Application Recipes; 11.1 Converting Visio VDX Documents to SVG; 11.2 Working with Excel XML Spreadsheets; 11.3 Generating XTM Topic Maps from UML Models via XMI; 11.4 Generating Web Sites from XTM Topic Maps; 11.5 Serving SOAP Documentation from WSDL; Chapter 12: Extending and Embedding XSLT; 12.1 Saxon Extension Functions; 12.2 Saxon Extension Elements; 12.3 Xalan Java 2 Extension Functions; 12.4 Java Extension Function Using the Class Format Namespace; 12.5 Java Extension Function Using the Package Format Namespace; 12.6 Java Extension Function Using the Java Format Namespace; 12.7 Scripting Extension Function Using Inline Script Code; 12.8 Xalan Java 2 Extension Elements; 12.9 Java Extension Element; 12.10 Scripting Extension Elements; 12.11 MSXML Extension Functions; 12.12 Using Saxon’s and Xalan’s Native Extensions; 12.13 Extending XSLT with JavaScript; 12.14 Adding Extension Functions Using Java; 12.15 Adding Extension Elements Using Java; 12.16 Using XSLT from Perl; 12.17 Using XSLT from Java; Chapter 13: Testing and Debugging; 13.1 Using xsl:message Effectively; 13.2 Tracing the Flow of Your Stylesheet Through Its Input Document; 13.3 Automating the Insertion of Debug Output; 13.4 Including Embedded Unit Test Data in Utility Stylesheets; 13.5 Structuring Unit Tests; 13.6 Testing Boundary and Error Conditions; Chapter 14: Generic and Functional Programming; 14.1 Introduction; 14.2 Creating Polymorphic XSLT; 14.3 Creating Generic Element Aggregation Functions; 14.4 Creating Generic Bounded Aggregation Functions; 14.5 Creating Generic Mapping Functions; 14.6 Creating Generic Node-Set Generators; Colophon;
Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.
GRATIS per la spedizione in U.S.A.
Destinazione, tempi e costiGRATIS per la spedizione in U.S.A.
Destinazione, tempi e costiDa: SecondSale, Montgomery, IL, U.S.A.
Condizione: Good. Item in good condition. Textbooks may not include supplemental items i.e. CDs, access codes etc. Codice articolo 00083713295
Quantità: 2 disponibili
Da: Wonder Book, Frederick, MD, U.S.A.
Condizione: Very Good. Very Good condition. A copy that may have a few cosmetic defects. May also contain light spine creasing or a few markings such as an owner's name, short gifter's inscription or light stamp. Bundled media such as CDs, DVDs, floppy disks or access codes may not be included. Codice articolo A16A-03422
Quantità: 1 disponibili
Da: ThriftBooks-Dallas, Dallas, TX, U.S.A.
Paperback. Condizione: Very Good. No Jacket. May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less 2.15. Codice articolo G0596003722I4N00
Quantità: 1 disponibili
Da: Better World Books, Mishawaka, IN, U.S.A.
Condizione: Good. Used book that is in clean, average condition without any missing pages. Codice articolo 680273-20
Quantità: 2 disponibili
Da: Better World Books: West, Reno, NV, U.S.A.
Condizione: Very Good. Used book that is in excellent condition. May show signs of wear or have minor defects. Codice articolo 680274-6
Quantità: 1 disponibili
Da: HPB-Ruby, Dallas, TX, U.S.A.
paperback. Condizione: Very Good. Connecting readers with great books since 1972! Used books may not include companion materials, and may have some shelf wear or limited writing. We ship orders daily and Customer Service is our top priority! Codice articolo S_427352111
Quantità: 1 disponibili
Da: WorldofBooks, Goring-By-Sea, WS, Regno Unito
Paperback. Condizione: Very Good. The book has been read, but is in excellent condition. Pages are intact and not marred by notes or highlighting. The spine remains undamaged. Codice articolo GOR001928335
Quantità: 3 disponibili
Da: Newsboy Books, Ontario, CA, U.S.A.
PAPERBACK. Condizione: Very Good. 0596003722 Light cover wear. Minor edge wear. Almost like new. No highlighting. No underlining. Codice articolo 0596003722NE
Quantità: 1 disponibili
Da: AwesomeBooks, Wallingford, Regno Unito
Paperback. Condizione: Very Good. XSLT Cookbook: Solutions and Examples for XML and XSLT Developers This book is in very good condition and will be shipped within 24 hours of ordering. The cover may have some limited signs of wear but the pages are clean, intact and the spine remains undamaged. This book has clearly been well maintained and looked after thus far. Money back guarantee if you are not satisfied. See all our books here, order more than 1 book and get discounted shipping. Codice articolo 7719-9780596003722
Quantità: 1 disponibili
Da: HPB-Emerald, Dallas, TX, U.S.A.
paperback. Condizione: Very Good. Connecting readers with great books since 1972! Used books may not include companion materials, and may have some shelf wear or limited writing. We ship orders daily and Customer Service is our top priority! Codice articolo S_389926142
Quantità: 1 disponibili