|Version 1 (modified by roadrunner, 10 years ago) (diff)|
XSL-Tranformations for Trac
The XsltMacro allows you to embed the result of an XSL-tranformation in a page. It takes two parameters, a stylesheet and a document to transform. These can be attachments on any wiki-page or ticket, any page from the htdocs area, or any file in the repository (the format is basically same as used by Trac's native ImageMacro). For more details see the documentation in the macro.
If you have any issues, create a new ticket.
Download the zipped source from [download:xsltmacro here].
The following table is produced with this macro call:
- 7914 by roadrunner on 2010-05-02 16: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 16:32:04
Simplified parameter extraction a bit.
- 7909 by roadrunner on 2010-05-02 07:25:24
Updated to work under trac 0.12, including multi-repository support.