June 2004
Intermediate to advanced
216 pages
6h 8m
English
This directive maps all XML files to a particular stylesheet for
processing. You can do this in a <Files>
directive if you need to do it by file extension, or on a
file-by-file basis:
<Files *.dkb> AxAddProcessor text/xsl /stylesheets/docbook.xsl </Files>
Multiple directives for the same set of files make for a chained set of stylesheet processing instructions, in which the output of one processing stage goes into the input of the next. This is especially useful for XSP processing, in which the output of the XSP processor is likely not to be HTML (or WAP or whatever your chosen output format is):
<Files *.xsp> # use "." to indicate that XSP gets
processed by itself. AxAddProcessor application/x-xsp . AxAddProcessor text/xsl
/stylesheets/to_html.xsl </Files>Read now
Unlock full access