Changes between Version 29 and Version 30 of XsltMacro


Ignore:
Timestamp:
Sep 10, 2017, 11:00:46 AM (4 years ago)
Author:
figaro
Comment:

Move installation instructions to own section

Legend:

Unmodified
Added
Removed
Modified
  • XsltMacro

    v29 v30  
    55== Description
    66
    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]).
     7The 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 
    89For more details see the documentation in the macro.
    910
    10 The following table is produced with this macro call:
     11With this macro call:
     12
    1113{{{
    1214[[Xslt(format.xsl, info.xml)]]
    1315}}}
     16
     17The following table is produced:
    1418
    1519{{{#!html
     
    6266== Download
    6367
    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.
     68Download the zipped source from [export:xsltmacro here].
    7169
    7270== Source
    7371
    7472You can check out XsltMacro from [/svn/xsltmacro here] using Subversion, or [source:xsltmacro browse the source] with Trac.
     73
     74== Installation
     75
     76To 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
     80Then copy the resulting {{{dist/xslt-0.X-pyY.Z.egg}}} to your plugins directory.
    7581
    7682== Recent Changes