| 1 | = XSL-Tranformations for Trac = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | The XsltMacro allows you to embed the result of an XSL-tranformation |
| 6 | in a page. It takes two parameters, a stylesheet and a document to |
| 7 | transform. These can be attachments on any wiki-page or ticket, any |
| 8 | page from the htdocs area, or any file in the repository (the format |
| 9 | is basically same as used by Trac's native |
| 10 | [http://projects.edgewall.com/trac/wiki/WikiMacros#AvailableMacros ImageMacro]). |
| 11 | For more details see the documentation in the macro. |
| 12 | |
| 13 | This macro requires that [http://xmlsoft.org/ libxml2], |
| 14 | [http://xmlsoft.org/ libxslt], and their python bindings are |
| 15 | installed. |
| 16 | |
| 17 | |
| 18 | == Bugs/Feature Requests == |
| 19 | |
| 20 | Existing bugs and feature requests for XsltMacro are |
| 21 | [report:9?COMPONENT=XsltMacro here]. |
| 22 | |
| 23 | If you have any issues, create a |
| 24 | [http://trac-hacks.org/newticket?component=XsltMacro&owner=roadrunner new ticket]. |
| 25 | |
| 26 | == Download == |
| 27 | |
| 28 | Download the zipped source from [download:xsltmacro here]. |
| 29 | |
| 30 | == Source == |
| 31 | |
| 32 | You can check out XsltMacro from [http://trac-hacks.org/svn/xsltmacro here] using Subversion, or [source:xsltmacro browse the source] with Trac. |
| 33 | |
| 34 | == Example == |
| 35 | |
| 36 | The following table is produced with this macro call: |
| 37 | {{{ |
| 38 | [[Xslt(format.xsl, info.xml)]] |
| 39 | }}} |
| 40 | [[Xslt(format.xsl, info.xml)]] |
| 41 | |
| 42 | == Recent Changes == |
| 43 | |
| 44 | [[ChangeLog(xsltmacro, 3)]] |
| 45 | |
| 46 | == Author/Contributors == |
| 47 | |
| 48 | '''Author:''' [wiki:roadrunner] [[BR]] |
| 49 | '''Contributors:''' |