Copyright (c) 2007,2008 by Deviurg LLC http://deviurg.com XSLT Filter module is licensed under the Apache License, Version 2.0 (the "License"); you may not use the module except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Apache2 XSLT Filter at SourceForge
Apache2 XSLT Filter at Freshmeat
Click on the link
xslt_filter-1.5.2.tar.gz
to download the latest version of xslt_filter sources.
XSLT Filter is compressed in .tar.gz format which any reasonable decompression program
can handle (Unix tar/gunzip, 7-zip, Winzip).
This module depends on a few libraries which should be preinstalled on your system.
Please download and install the following libraries if they are not already installed.
libxml2-2.6.30.tar.gz
libxslt-1.1.20.tar.gz
I hope you have already installed Apache2 server as well.
Unpack the module with tar: tar zxvf xslt_filter-1.5.2.tar.gz
Run the ./configure script.
Run the make command.
Run the make install command.
Edit httpd.conf and restart your Apache server.
Edit your httpd.conf file and add the following section to enable xslt_filter module.
LoadModule xslt_filter modules/xslt_filter.so AddType text/xsl .xsl AddType text/xml .xml AddOutputFilterByType xslt_filter text/xml AddOutputFilterByType xslt_filter application/xml
For each virtual server you can use additional configuration options:
Enable debigging output:
XSLT_Filter debug <on|off>
Define a root directory of XSL files. All XSL references will be treated relatively to this path.
XSLT_Filter xsltroot /usr/local/www/xslt
Define a default stylesheet file (optional). With this option you can omit <?xml-stylesheet ... ?> header.
XSLT_Filter default /path/to/my/default.xsl
Allow or deny usage of external resourses such as XML and XSL files.
XSLT_Filter external <on|off>
For external XSL files you should specify full URL like:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml-stylesheet type="text/xsl" href="http://www.deviurg.com/test/t1/index.xslt"?> ...
Please post your questions and comments on
the project Forum.
Any comments and suggestions are greatly appreciated!