[PATCH 0 of 4] XSLT HTML parsing

Laurence Rowe l at lrowe.co.uk
Wed Mar 21 21:28:30 UTC 2012


Hi,

These patches add HTML parsing support to the XSLT filter module. They have
been updated to incorporate earlier feedback from the list and irc and
correspond with the current head of:
https://bitbucket.org/lrowe/nginx-xslt-html-parser

They apply on top of the xslt_param changes from:
http://mailman.nginx.org/pipermail/nginx-devel/2012-March/001926.html

Note that the current ordering of filter modules means that the charset is not
normally set on headers_out before the XSLT filter runs. As you can control
the output charset encoding from XSL with "<xsl:output encoding=.../>" it
probably makes sense to move the xslt filter to execute after the charset
filter. However, this is left outside the scope of this patch set.

Laurence



More information about the nginx-devel mailing list