<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >Introduction</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="mod-xslt2 Users and Administrators Manual" HREF="index.html"><LINK REL="PREVIOUS" TITLE="mod-xslt2 Users and Administrators Manual" HREF="index.html"><LINK REL="NEXT" TITLE="History" HREF="x44.html"></HEAD ><BODY CLASS="SECT1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >mod-xslt2 Users and Administrators Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="index.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="x44.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="AEN18" >2. Introduction</A ></H1 ><P >Nowdays, most of the browsers on the market <SPAN CLASS="emphasis" ><I CLASS="EMPHASIS" >do not</I ></SPAN > support parsing xml files and are not able to correctly apply xslt stylesheets.</P ><P >Even worse, some browsers are not standard complaiant and do not follow the specifications closely, leading to a world where xml can hardly be used in web applications.</P ><P >mod-xslt2 is a server side module able to transform ``xml'' documents in ``html'' (or to any other format) before they even get back to the browser.</P ><P >At time of writing, this module can be used with apache 1.3.x (stable) and apache 2.0.x (testing), but other web servers may get supported in the future.</P ><P >mod-xslt2 main features include: <P ></P ><UL ><LI ><P >the ability to parse generated xml (ability to parse the output of php or perl scripts).</P ></LI ><LI ><P >the ability to use the ``xslt'' indicated by the <?xml-stylesheet processing instruction.</P ></LI ><LI ><P >the ability to send back the xml file unparsed to the browser.</P ></LI ><LI ><P >the ability to fetch xslt or DTDs from scripts rather than from static files.</P ></LI ><LI ><P >the ability to fetch a different xslt depending on the content of the request headers, of the get parameters or the web server environment.</P ></LI ><LI ><P >the ability to allow xslt stylesheets to make use of these variables to generate output.</P ></LI ></UL > This module is almost a complete rewrite of the original ``mod-xslt'' written by Philipp Dunkel, containing many improvements, a more generic API, a whole set of new and flexible features and the correction of some bugs that were found in the original sources.</P ><P > As an effect of a more generic API, this version of mod-xslt2 supports both apache 1 and apache 2, while work is under way to provide a cgi and proxy wrapper to allow mod-xslt2 to be used on any other server.</P ><P >The more generic API should also be usable to provide support for servers like IIS or others, even if I'm personally not going to write code for closed source products.</P ><P >The build system has also been completely rewritten and a whole set of new documentation included in the original package.</P ><P >Keep also in mind that I'm not native english, and as though I'm trying to do my best, <SPAN CLASS="emphasis" ><I CLASS="EMPHASIS" >please</I ></SPAN > report any error or ``strange'' sentence you may find in this (or any other) document provided with mod-xslt2.</P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="index.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="x44.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >mod-xslt2 Users and Administrators Manual</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >History</TD ></TR ></TABLE ></DIV ></BODY ></HTML >