| 70 | == Usage |
| 71 | |
| 72 | {{{ |
| 73 | [[XsdPlot(schema.xsd,width=400,page=100,caption="Page 100 from Book Example")]] |
| 74 | [[XsdPlot(source:repo/schema.xsd@10,width=600,caption="SVG-image from repository in version 10")]] |
| 75 | [[XsdPlot(ticket:1:schema.xsd)]] |
| 76 | }}} |
| 77 | |
| 78 | |
| 79 | The Location of the resource (first parameter) can be an attachment (to a wikipage, or a ticket) a file in svn or a local file (keyword "file:"). |
| 80 | |
| 81 | ||= '''Trac link''' =||= '''Alternatives''' =||= '''Comment''' =|| |
| 82 | || `wiki` || !JustPageName || Attachment in wikipage || |
| 83 | || `ticket` || !#1 || || |
| 84 | || `source` || browser,repos || || |
| 85 | || `file` || || remember configuration value `file.prepath` || |
| 86 | |
| 87 | ''Parameters:'' |
| 88 | |
| 89 | ||= '''Parameter''' =||= '''Value''' =||= '''Default''' =|| || |
| 90 | || `xsdfile` || location of XSD file || || required || |
| 91 | || `width` || width in pixel || 600 || must be absolute value || |
| 92 | || `caption` || caption under image || ''none'' || || |
| 93 | || `label` || anchor to link to || || || |
| 94 | || `cache` || build once or each time || True || time consumption or changing vectorgraphics || |
| 95 | || `align` || left|right || nothing || || |
| 96 | |