You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Edward Rudd <ed...@omegaware.com> on 2004/05/13 02:05:23 UTC

[PATCH] XSLT output filter enhancement

This patch adds support for subversion to use an output filter to
translate the XML output via the XSLT filter instead of having the
browser translate the document (of which few currently can).

This patch is against subversion 1.0.2 and tested with mod_transform
(http://svn.outoforder.cc/svn/mod_transform/)
An official release of mod_transform will be available sometime this
week at http://www.outoforder.cc/projects/apache/

The patch adds one extra apache configuration command
"SVNIndexXSLTFilter" that takes one string argument which is the name of
output filter to be added after a directory GET request in mod_dav_svn.

Eg.

SVNIndexXSLTFilter XSLT
SVNIndexXSLT /var/www/html/svnindex.xsl

mod_transform requires that the mediaType int he <xsl:output> node be
set to text/html so that the correct Content-Type is set for the
web-browser.

-- 
Edward Rudd <ed...@omegaware.com>
Website http://www.outoforder.cc/

Re: [PATCH] XSLT output filter enhancement

Posted by Michael W Thelen <th...@cs.utah.edu>.
* Edward Rudd <ed...@omegaware.com> [2004-05-13 10:33]:
> This patch adds support for subversion to use an output filter to
> translate the XML output via the XSLT filter instead of having the
> browser translate the document (of which few currently can).

Thanks for the patch.  I've filed this patch as issue #1909:
http://subversion.tigris.org/issues/show_bug.cgi?id=1909

-- Mike

-- 
Michael W. Thelen
The greatest of all weaknesses is the fear of appearing weak.
                -- J.B. Bossuet, "Politics from Holy Writ", 1709