Java and XSLT

ClanBrandon Books
view more info on this item
click here for more details, find new or used items

Eric Burke

Our price £18.53 (£28.50)
New from £12.66
Used from £2.63

Pages: 544 (Paperback)

ISBN: 0596001436

Pub: O'Reilly Media, Inc.

Pub date: 2001-09-04

Amazon.co.uk Sales Rank: 347224

Check for 3rd party sellers (new/used)

Editorial Review:


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

Reader Reviews:


5/5 stars

Excellent view of an alternative enterprise architecture (2/2 people found this helpful)

The combination of Servlets and XSLT is a natural fit and a possible alternative to Servlets and JSP.

This book gives excellent coverage to using XSLT to generate dynamic web pages. The first part of the book is an introduction to XSLT. For those unfamiliar with XSLT, this part of the book will be an excellent introduction. For those using XSLT, an additional tutorial or reference will be required. The next part of the book covers how to use a Java program to transform an XML document into HTML. SAX, DOM, JDOM, and JAXP are all covered. This section includes information on how to configure your environment to correctly process XML documents. Anyone who has run into the mysterious "sealing violation" will appreciate this help. The next part of the book is a series of case studies starting with a discussion forum. The case studies demonstrate solutions to real world programming issues and help to uncover some of the issues that programmers will face if they choose to use these technologies. Performance issues are discussed with each solution.

My one complaint with this book is that the author tends to overstate the advantages of XSLT while understating the advantages of JSP. Overall, the author has done an outstanding job of putting the two technologies (Java and XSLT) together in a way that is easy to understand.

Anyone interested in using XSLT in their Java development efforts should start with this book.

5/5 stars

Just what I needed... to learn XSLT quickly. (3/7 people found this helpful)

If you're working with Java, chances are you've already heard of XML and if your projects involve web as well, you'll quickly learn to love this book.

I needed to learn XSLT quickly and after hours of browsing thru all the available APIs and specifications I decided to grab this book and it really was worth every penny.

The book starts by explaining the key concepts and moves on to real world examples, which will make most readers happy. The design of the sample applications is quite nice and the extensive use of design patterns made me a happy man.

If you're looking for a XSLT reference book, you'd need to find another book or grab this one and download the latest stuff from the web.

Similar Products

Java and XML: Solutions to Real-World Problems (Java Series (O'Reilly & Associates).)

XSLT Cookbook (Cookbooks (O'Reilly))

Beautiful Code: Leading Programmers Explain How They Think (Theory in Practice (O'Reilly))

Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly))

XSLT 2.0 Programmer's Reference (Programmer to Programmer)

Categories

Amazon.co.uk places this book into the following categories:

Books -> Subjects -> Computing & Internet -> General
Books -> Subjects -> Computing & Internet -> Programming -> Languages -> Java -> XML
Books -> Subjects -> Computing & Internet -> Programming -> Languages -> Java -> General AAS
Books -> Subjects -> Computing & Internet -> Programming -> Languages -> XML -> XSL & XSLT
Books -> Subjects -> Computing & Internet -> Programming -> Languages -> XML -> General AAS
Books -> Subjects -> Computing & Internet -> Programming -> Languages -> HTML & XHTML -> General AAS
Books -> Subjects -> Computing & Internet -> Programming -> General AAS
Books -> Subjects -> Computing & Internet -> Digital Lifestyle -> Online Shopping -> Amazon
Books -> Subjects -> Computing & Internet -> General AAS
Books -> Subjects -> Computing & Internet -> Software & Graphics -> General AAS
Books -> Refinements -> Language (feature_browse-bin) -> English
Books -> Refinements -> Age (feature_two_browse-bin)
Books -> Refinements -> Format (binding_browse-bin) -> Paperback
Books -> Refinements -> Condition (condition-type)

 

ClanBrandon Books | Prague airport transfer | Dreamweaver | Short Term Missions | English Teacher Jobs in the Czech Republic
Czech Republic | Operation Mobilisation | Czech Republic Map