| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = Produces simple-minded graphical images of the structure of XML Schema files |
| 4 | |
| 5 | == Description |
| 6 | |
| 7 | == Description == |
| 8 | |
| 9 | Produce a graphical depiction of the data structure defined by an XML Schema (XSD) file. |
| 10 | |
| 11 | Input files can be source files in an SVN repository, attachements to tickets or placed in the Trac server file system |
| 12 | |
| 13 | Example to appear. |
| 14 | |
| 15 | === Assumptions === |
| 16 | |
| 17 | The current version assumes that an XSD file contains exactly one `ComplexType` definition at top level. |
| 18 | |
| 19 | == !Bugs/Feature Requests |
| 20 | |
| 21 | Existing bugs and feature requests for TracXsdPlotMacro are |
| 22 | [report:9?COMPONENT=TracXsdPlotMacro here]. |
| 23 | |
| 24 | If you have any issues, create a |
| 25 | [/newticket?component=TracXsdPlotMacro new ticket]. |
| 26 | |
| 27 | [[TicketQuery(component=TracXsdPlotMacro&group=type,format=progress)]] |
| 28 | |
| 29 | == Download |
| 30 | |
| 31 | Download the zipped source from [export:tracxsdplotmacro here]. |
| 32 | |
| 33 | == Source |
| 34 | |
| 35 | You can check out TracXsdPlotMacro from [http://trac-hacks.org/svn/tracxsdplotmacro here] using Subversion, or [source:tracxsdplotmacro browse the source] with Trac. |
| 36 | |
| 37 | == Installation |
| 38 | |
| 39 | General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. |
| 40 | |
| 41 | `ImageMagick` must be installed. |
| 42 | |
| 43 | === Configuration === |
| 44 | |
| 45 | Enable the plugin by |
| 46 | |
| 47 | {{{ |
| 48 | tracxsdplot.* = enabled |
| 49 | }}} |
| 50 | |
| 51 | To convert files in the server's file system, set these in trac.ini: |
| 52 | |
| 53 | {{{ |
| 54 | [tracxsdplot] |
| 55 | file.prepath = /relative/entry/directory |
| 56 | file.preurl = http://example.com/entrydir |
| 57 | }}} |
| 58 | |
| 59 | The plugin contains functionality that allows command-line usage as well: |
| 60 | |
| 61 | {{{ |
| 62 | /path/to/plugin/xsd2svg XSDFILE --outfile=OUTFILE |
| 63 | }}} |
| 64 | |
| 65 | |
| 66 | == Recent Changes |
| 67 | |
| 68 | [[ChangeLog(tracxsdplotmacro, 3)]] |
| 69 | |
| 70 | == !Author/Contributors |
| 71 | |
| 72 | **Author:** [wiki:thenor] [[BR]] |
| 73 | **Maintainer:** [[Maintainer]] [[BR]] |
| 74 | **Contributors:** |