mod-xslt2 Users and Administrators Manual

Carlo Contavalli

Date: 2004/02/17 02:59:38 - Revision: 1.3

mod-xslt2 is a web server module able to transform xml documents in any format using xslt stylesheets, doing what might be called server side parsing of xml files.


Table of Contents
1. License, copyright and...
2. Introduction
3. History
4. Installation
4.1. Prerequisites
4.1.1. Apache 1.3.x
4.1.2. Apache 2.0.x
4.2. Quick start
4.3. Configure parameters
4.3.1. Installation related parameters
4.3.2. Compilation related parameters
4.3.3. SAPI Specific configure parameters
5. mod-xslt2 Setup and Usage
5.1. Apache 1.3.x
5.1.1. Request life
5.1.2. Using the ``AddHandler'' directive
5.1.3. Using the XSLT directives
5.1.4. Mixing the two
5.1.5. Loading the module
5.1.6. mod-xslt Configuration parameters
5.1.7. Logging
5.1.8. Increasing performance
5.1.9. Subrequest Issues
5.2. Apache 2.0.x
5.2.1. Configuring Apache 2.0 for mod-xslt
5.2.2. mod-xslt Configuration parameters
5.2.3. Apache 2.0.x, mod-xslt and PHP4
6. Writing XML for mod-xslt2
6.1. XSLT Parameters
6.2. mod-xslt2 Extensions
6.2.1. header-set
6.2.2. value-of - modxslt expressions
6.2.3. Verifying availability of mod-xslt2 extensions
6.3. Setting the Content-Type (MIME type) of the parsed document
6.4. Choosing the stylesheet to use
6.4.1. xml-stylesheet and modxslt-stylesheet
6.5. Using external DTDs
6.6. Testing xml files and stylesheets from the command line
6.6.1. xsltproc
6.6.2. modxslt-parse
6.6.3. rxp
6.7. Other tools provided
6.7.1. modxslt-perror
6.7.2. modxslt-config
7. Security considerations
7.1. Variables substitution
7.2. Avoiding deadlocks under heavy loads
7.3. Avoiding remote URLs in substitutions
8. Reporting BUGS / Helping out the project

1. License, copyright and...

This document was written by Carlo Contavalli <ccontavalli at masobit.net> and is thus Copyright (C) Carlo Contavalli 2003, 2004.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.

Any example of program code available in this document should be considered protected by the terms of the GNU General Public License.

mod-xslt2, the software described in this document, is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

mod-xslt2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Trademarks are owned by their respective owners.