Version 3 (modified by roadrunner, 12 years ago) (diff)

fixed typos

XSL-Transformation Macro


The XsltMacro allows you to embed the result of an XSL-transformation in a page. It takes two parameters, a stylesheet and a document to transform. These can be an attachment on any wiki-page or ticket, any page from the htdocs area, or any file in the repository (these options are basically same as for Trac's native ImageMacro). For more details see the documentation in the macro.

This macro requires that libxml2, libxslt, and their python bindings are installed.

Bugs/Feature Requests

Existing bugs and feature requests for XsltMacro are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:xsltmacro here].


You can check out XsltMacro from here using Subversion, or browse the source with Trac.


The following table is produced with this macro call:

[[Xslt(format.xsl, info.xml)]]

Xslt(format.xsl, info.xml)?

Recent Changes

15871 by rjollos on 2016-09-06 17:28:57
Rename 0.9 directory to 0.10
7914 by roadrunner on 2010-05-02 14:32:16
Pass (http) request parameters which start with xp_ to the stylesheet as
additional parameters. This can be useful for example to implement paging.

This closes #5275.

7913 by roadrunner on 2010-05-02 14:32:04
Simplified parameter extraction a bit.


Author: roadrunner

Attachments (2)

Download all attachments as: .zip