Overview of the XSLT library

PreviousNext

The XPath and XSLT libraries are still under development. So please be aware that any interfaces mentioned here are liable to change without notice. I shall try to keep this documentation up to date.

This chapter gives Eiffel programmers an introduction to the Gobo Eiffel XSLT library, which implements the World Wide Web Consortium's XSLT 2.0 tranformation language.

Invoking XSLT

Customizable interfaces

The following is a list of XSLT interfaces that the Eiffel programmer may need to implement. In all cases, the library provides at least one concrete implementation.

Extensions

XSLT and XPath provide for standard mechanisms to access extensions to the language. This library provides some built-in extensions in the namespace http://www.gobosoft.com/eiffel/gobo/gexslt/extension. In order to make use of them, you must provide a namespace declaration in your stylesheets, something like: gexslt:xmlns="http://www.gobosoft.com/eiffel/gobo/gexslt/extension". Don't forget to exclude this namespace from your result documents with: exclude-result-prefixes="gexslt" when appropriate.

You can also provide your own extensions. In this case, you should allocate a namespace URI that you control to your extensions.

In some cases (notably output extensions), the mechanism for accessing built-in extensions differs slightly from that for user-written extensions. In these cases, I have incorporated example classes into the library so you can see how to code your own extensions. These examples are all in the namespace http://www.gobosoft.com/eiffel/gobo/gexslt/extension/example.

Output extensions

Other extensions


Copyright © 2004, Colin Adams and others
mailto:colin@colina.demon.co.uk
http://www.gobosoft.com
Last Updated: Monday, October 18th, 2004
HomeTocPreviousNext