| View: | [ 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2001 ] |
| Articles Books |
- Push, Pull, Next! by Bob DuCharme - [Clicks: 24]
Bob DuCharme compares the push and pull styles of XSLT stylesheet architectures and looks at two new XSLT 2.0 instructions that aid push-style development.
http://www.xml.com/pub/a/2005/07/06/tr.html - Jul, 2005 - Tip: Loop with recursion in XSLT by Elliotte Harold - [Clicks: 28]
XSLT is a functional programming language like Haskell or Scheme, and unlike C or Fortran. Thus it has no loops and no mutable variables. Instead, you must replace these constructs with recursion and parameters. This tip demonstrates how to provide this functionality using named templates and the xsl:call-template, xsl:with-param, and xsl:param elements.
http://www-128.ibm.com/developerworks/xml/library/x-tiploop.html - Jun, 2005 - Comparing XSLT and XQuery by J. David Eisenberg - [Clicks: 19]
J. David Eisenberg asks, and answers, a vital question: if I already know XSLT, should I also learn XQuery? Get up to speed on the W3C's XML native programming language.
http://www.xml.com/pub/a/2005/03/09/xquery-v-xslt.html - Mar, 2005 - Tip: Batch processing XML with XSLT 2.0 by Jack Herrington - [Clicks: 29]
A common problem with XSLT is that it takes only a single XML file as input. You can use a cross-platform Java tool to create an XML directory listing, then use XSLT to process every file in the directory from that listing. This tip covers installation and use of such a tool, as well as the corresponding XSL that processes multiple files from the directory listing.
http://www-128.ibm.com/developerworks/xml/library/x-tipbatc.html - Mar, 2005 - Code generation in XSLT 2.0, Part 2: Generate PHP with XSLT 2.0 by Jack Herrington - [Clicks: 12]
In Part 2 of this two-part series on XSLT, Jack Herrington shows you how to expand the XSLT 2.0 code generator that you built in Part 1 to create the PHP portion of the code that provides the database access for a Web server.
[Includes source code]
http://www-128.ibm.com/developerworks/library/x-xslphp2/index.html - Feb, 2005 - Code generation in XSLT 2.0, Part 1: Generate SQL with XSLT 2.0 by Jack Herrington - [Clicks: 14]
Learn to use the cutting-edge features of XSLT 2.0 and generate PHP code from an abstract data model. In Part 1 of this two-part series, Jack Herrington uses a robust multilevel transform technique to show you how to take a simple model of a target database and generate the SQL for the database server.
http://www-106.ibm.com/developerworks/xml/library/x-xslphp1/ - Feb, 2005 - Tip: Packaging XSLT lookup tables as EXSLT functions by Uche Ogbuji - [Clicks: 20]
In an earlier tip, Uche Ogbuji demonstrated how to build lookup tables in XSLT. In a follow-up tip, he covered how to handle error or default conditions for these lookup tables. This tip shows you how to use the functions module from EXSLT, the community standard in XSLT extensions, and how this technique further improves lookup tables by packaging code into easily reusable functions.
http://www-106.ibm.com/developerworks/xml/library/x-tiplook2.html - Jan, 2005
- Beginning XSLT 2.0: From Novice to Professional
by Jeni Tennison - [Clicks: 8]
This followup to Tennison's Beginning XSLT, has been updated to accomodate the revised XSLT standard. Part one of this book introduces XML and XSLT at a comfortable pace, and gradually demonstrates techniques for generating HTML (plus other formats), from XML. In part two, Tennison applies theory to real-life XSLT capabilities—including generating graphics. Each chapter includes step-by-step examples (with code available online), plus review questions at the end, to help you grasp the discussed features. In fact, all of the examples and exercises revolve around an interesting common theme: making TV listings available online. This book lives up to it’s name, and will definitely take you from a novice to a professional, in no time!
Apress, Paperback - 2005