Java et XSLT par Eric-M Burke a été vendu pour £32.72 chaque copie. Inscrivez-vous maintenant pour accéder à des milliers de livres disponibles en téléchargement gratuit. L’inscription était gratuite.
The power of XSLT is its ability to change the structure or format of any content that can be converted to XML. Java and XSLT shows you how to use XSL transformations in Java programs ranging from stand-alone applications to servlets. After an introduction to XSLT, the book focuses on applying transformations in some real-world scenarios, such as developing a discussion forum, transforming documents from one form to another, and generating content for wireless devices.Java and XSLT discusses several common XSLT processors and the TRAX API, paying special attention to performance issues. Although there's a brief tutorial introduction to the XSLT language, the primary focus of the book isn't on learning XSLT or developing stylesheets; it's on making practical use of transformations in Java code.The book covers:
- Introduction and Technology Review
- XSLT--The Basics
- XSLT--Beyond The Basics
- Java Web Architecture
- Programmatic Interfaces to XSLT Processors
- Using XSLT with Servlets
- Discussion Forum Implementation
- Advanced XSLT Web Techniques
- Testing, Tuning and Development Environments
- WAP and WML
- XSLT and Wireless Examples
XLST (eXtensible Stylesheet Language Transformations) is the under-defined programmatic part of XML that deals with translating XML coded data into other formats. Java and XLST deals with XLST in a Java environment, specifically J2EE, hence the subtitle: Embedding XML Processing in Java Applications.
XLST uses stylesheets--XLST programs--read and acted on by an XLST processor, many of which are written in Java. While Java and XLST focuses on Sun's JAXP and Apache's Xalan others mentioned include XT, Lotus XSL, Saxon and JAXP. The core of the book, though, is Java interaction with XLST. The lucid explanation of the way XLST works, its relationship to XHTML and the description of XPath and XPointer are particularly welcome as XLST suffers from a surfeit of solutions. After that it's into practical processing with recursion, looping, sorting, conditional processing and other activities familiar from general purpose programming languages. Once past the basics it's down to practical examples using servlets, JDOM, WAR (Web Application Archive) files, threading and formatting the same data for different devices.
Java and XLST does a first-class job. Oddly, though, you come away from it understanding why, when the W3C defined XML, it left XLST on the shelf. It just shouldn't be so involved using XLST for real work. This isn't a problem specific to Java, however, and in Java and XLST Burke does a good job of pulling it all together. --Steve Patient
Please allow me to personally recommend this book as
a must-have for your technical library. -- David Wallace Croft, Croftsoft Update, Feb 2001
From the Publisher
XSLT introduces XSLT and then shows you how to apply transformations in real-world situations, such as developing a discussion forum, transforming documents from one form to another, and generating content for wireless devices