Changes between Version 29 and Version 30 of XsltMacro
- Timestamp:
- Sep 10, 2017, 11:00:46 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
XsltMacro
v29 v30 5 5 == Description 6 6 7 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, any file in the repository, or any url (these options are similar to those for Trac's native [http://projects.edgewall.com/trac/wiki/WikiMacros#AvailableMacros ImageMacro]). 7 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, any file in the repository, or any url. These options are similar to those for Trac's native [t:wiki:WikiMacros#AvailableMacros ImageMacro]. 8 8 9 For more details see the documentation in the macro. 9 10 10 The following table is produced with this macro call: 11 With this macro call: 12 11 13 {{{ 12 14 [[Xslt(format.xsl, info.xml)]] 13 15 }}} 16 17 The following table is produced: 14 18 15 19 {{{#!html … … 62 66 == Download 63 67 64 If you're running 0.10 and want to install this as a simple macro, then just download [/svn/xsltmacro/0.10/xslt/Xslt.py this file] and put it in your {{{wiki-macros}}} directory. 65 66 To install as a plugin, download the [export:xsltmacro zipped source], unzip, change the directory to {{{xsltmacro/0.10}}} (for 0.10) 67 or {{{xsltmacro/0.11}}} (for Trac 0.11+), run: 68 69 {{{python setup.py bdist_egg}}}, and copy the resulting 70 {{{dist/xslt-0.X-pyY.Z.egg}}} to your plugins directory. 68 Download the zipped source from [export:xsltmacro here]. 71 69 72 70 == Source 73 71 74 72 You can check out XsltMacro from [/svn/xsltmacro here] using Subversion, or [source:xsltmacro browse the source] with Trac. 73 74 == Installation 75 76 To install as a plugin, download the [export:xsltmacro zipped source], unzip, change the directory to {{{xsltmacro/0.10}}} (for Trac v0.10) or {{{xsltmacro/0.11}}} (for Trac v0.11+), run: 77 78 {{{python setup.py bdist_egg}}} 79 80 Then copy the resulting {{{dist/xslt-0.X-pyY.Z.egg}}} to your plugins directory. 75 81 76 82 == Recent Changes