|
|
|
mod_transform Documentation |
||||||||||||||||||||||||||||||||
DocumentationCompilation
The interesting options you can pass to configure are:
./configure --with-apxs=/usr/sbin/apxs2 make make install Integration into ApacheTo activate
void mod_transform_set_XSLT(request_rec* r, const char* name) ; void mod_transform_XSLTDoc(request_rec* r, xmlDocPtr doc) ; Configuring with ApacheBesides registering an output filter with the name For details on assigning output filters in Apache 2,
please see the Filters Documentation. To get basic XSLT
parsing for your xml files,
just add the following to your AddOutputFilter XSLT xml TransformAnnounce
Enables or Disables showing TransformCache
This directive forces a specific XSLT Stylesheet to be preloaded by the server on startup. This can signifigantly increase performance. TransformCache /project/myfile.xsl /usr/local/share/project/myfile.xsl TransformOptions
This directive can enable or disable specific
<Directory "/path/to/my/docroot">
TransformOptions +ApacheFS +XIncludes
</Directory>
TransformSet
This directive forces a specific XSLT Stylesheet for any files it is applied against. <LocationMatch /*/index.xml>
TransformSet /project/myfile.xsl
</LocationMatch>
|