magazine resources subscribe about advertising

New Architect Daily
Commentary and updates on current events and technologies

CMP Media E-Book

Download your copy today.

Research
Search for reports and white papers from industry vendors and analysts.

This Week at NewArchitect.com Subscribe now to our free email newsletter and get notified when the site is updated with new articles







Day of Defeat Online Gaming

 New Architect > Archives > 1999 > 08 > Beyond HTML

Presenting Data Records Using XSLT Expressions

Last month, I mentioned that just as I was placing the final touches on my column, the W3C's XSL Working Group quietly released an update to the XSL Working Draft Specification. Showing just how in flux the standard is, the new XSL draft specification dumps virtually every feature (with the exception of formatting objects) into a new working draft called XSL Transformations, or simply XSLT. XSL now refers specifically to XSL formatting objects, which are to XML what Cascading Style Sheets are to HTML.

By and large, XSLT contains all of the features I've covered over the past few columns including tree processing, patterns, and templates. However, XSLT adds a plethora of new features. The pattern syntax I described in June has been expanded and a new syntax called location paths has been introduced. Possibly the most dramatic change, however, is the addition of a complete expression language, which looks much like a small programming language. This month, I'll examine the salient points of XSLT expressions and give you an idea of how you can use them. I'll also deliver on a past promise to talk about iteration and conditional processing in XSL (now XSLT). Finally, I'll show how you can take any number of database records in XML format, sort them in either ascending or descending order, and transform them to HTML for presentation.

Expressions

As you'll recall from past columns, an XML document can be broken down into a collection of objects that are ordered in a hierarchical fashion.




  Day of Defeat Online Gaming

home | daily | current issue | archives | features | critical decisions | case studies | expert opinion | reviews | access | industry events | newsletter | research | careers | info centers | advertising | subscribe | subscriber service | editorial calendar | press | contacts


Copyright © 2006 CMP Media, LLC Read our privacy policy, your California privacy rights, terms of service.
SDMG Web sites: BYTE.com, C/C++ Users Journal, Developer Pipeline, Dr. Dobb's Journal, DotNetJunkies, MSDN Magazine, Sys Admin,
SD Expo, SD Magazine, SqlJunkies, The Perl Journal, Unixreview, Windows Developer Network, New Architect

web2