Changes between Version 3 and Version 4 of TracXsdPlotMacro


Ignore:
Timestamp:
Aug 10, 2015, 9:53:34 PM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes, tagged with license

Legend:

Unmodified
Added
Removed
Modified
  • TracXsdPlotMacro

    v3 v4  
    33= Produce simple-minded graphical images of the structure of XML Schema files
    44
     5== Description
    56
    6 == Description ==
    7 
    8 Produce a graphical depiction of the data structure defined by an XML Schema (XSD) file.
     7This plugin produces a graphical depiction of the data structure defined by an [https://en.wikipedia.org/wiki/XML_Schema_(W3C) XML Schema (XSD)] file.
    98
    109Input files can be source files in an SVN repository, attachements to tickets or placed in the Trac server file system.
     
    1413[[Image(trac-hacks-example.png,width=300)]]
    1514
    16 === Assumptions ===
     15=== Assumptions
    1716
    1817The current version assumes that an XSD file contains exactly one `ComplexType` definition at top level.
     
    4039General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    4140
    42 `ImageMagick` must be installed
    43 `ElementTree` must be installed for XSD parsing
     41Requirements:
     42 * `ImageMagick` must be installed.
     43 * `ElementTree` must be installed for XSD parsing.
    4444
    45 So far only tested with Trac 1.0.6 on linux. Older Trac versions cannot access specific source file revisions.
     45Enable the plugin as follows in your `trac.ini` file:
    4646
    47 === Configuration ===
    48 
    49 Enable the plugin by
    50 
    51 {{{
     47{{{#!ini
     48[components]
    5249tracxsdplot.* = enabled
    5350}}}
    5451
    55 To access and convert files in the server's file system, set these in trac.ini:
     52Tested with Trac 1.0.6 on Linux. Older Trac versions cannot access specific source file revisions.
     53
     54== Configuration
     55
     56To access and convert files in the server's file system, set these in `trac.ini`:
    5657 
    57 {{{
     58{{{#!ini
    5859[tracxsdplot]
    5960file.prepath = /relative/entry/directory
    60 file.preurl  = http://example.com/entrydir
     61file.preurl = http://example.com/entrydir
    6162}}}
    6263
    6364The plugin contains functionality that allows command-line usage as well:
    6465
    65 {{{
     66{{{#!sh
    6667/path/to/plugin/xsd2svg XSDFILE --outfile=OUTFILE
    6768}}}
    68 
    6969
    7070== Recent Changes
     
    8080== Credits
    8181
    82 Thanks to [wiki:ursaw] for most of the macro argument parsing and trac infrastructure that is stolen from PdfImagePlugin
     82Thanks to [wiki:ursaw] for most of the macro argument parsing and trac infrastructure that is taken from PdfImagePlugin.