Mercurial > hg > ooxml
comparison visualise.xpl @ 17:a874f2a81ed2
default vis pipeline to raw xml, start extracting refs
author | Henry S. Thompson <ht@markup.co.uk> |
---|---|
date | Tue, 04 Apr 2017 15:30:04 +0100 |
parents | e767bef35bb9 |
children | 9b1b169dc8db |
comparison
equal
deleted
inserted
replaced
16:2bbd067529b6 | 17:a874f2a81ed2 |
---|---|
11 <p:documentation xmlns="http://www.w3.org/1999/xhtml"> | 11 <p:documentation xmlns="http://www.w3.org/1999/xhtml"> |
12 <div>Directory where stylesheets, other info for stylesheet elaboration are found</div> | 12 <div>Directory where stylesheets, other info for stylesheet elaboration are found</div> |
13 </p:documentation> | 13 </p:documentation> |
14 </p:option> | 14 </p:option> |
15 | 15 |
16 <p:option name="format" select="'ascii.xsl'"> | 16 <p:option name="format"> |
17 <p:documentation xmlns="http://www.w3.org/1999/xhtml"> | 17 <p:documentation xmlns="http://www.w3.org/1999/xhtml"> |
18 <div>If supplied, then use as stylesheet (located relative to elabDir)</div> | 18 <div>If supplied, then use as stylesheet (located relative to elabDir)</div> |
19 </p:documentation> | 19 </p:documentation> |
20 </p:option> | 20 </p:option> |
21 | 21 |
44 <p:input port="stylesheet"> | 44 <p:input port="stylesheet"> |
45 <p:pipe step="ss2" port="result"/> | 45 <p:pipe step="ss2" port="result"/> |
46 </p:input> | 46 </p:input> |
47 </p:xslt> | 47 </p:xslt> |
48 | 48 |
49 <p:load name="ss3"> | 49 <p:choose> |
50 <p:with-option name="href" select="concat($elabDir,'/',$format)"/> | 50 <p:when test="p:value-available('format')"> |
51 </p:load> | 51 <p:load name="ss3"> |
52 | 52 <p:with-option name="href" select="concat($elabDir,'/',$format)"/> |
53 <p:xslt name="asc"> | 53 </p:load> |
54 <p:input port="source"> | 54 <p:xslt name="asc"> |
55 <p:pipe step="rect" port="result"/> | 55 <p:input port="source"> |
56 </p:input> | 56 <p:pipe step="rect" port="result"/> |
57 <p:input port="stylesheet"> | 57 </p:input> |
58 <p:pipe step="ss3" port="result"/> | 58 <p:input port="stylesheet"> |
59 </p:input> | 59 <p:pipe step="ss3" port="result"/> |
60 </p:xslt> | 60 </p:input> |
61 </p:xslt> | |
62 </p:when> | |
63 <p:otherwise> | |
64 <p:identity/> | |
65 </p:otherwise> | |
66 </p:choose> | |
61 </p:pipeline> | 67 </p:pipeline> |