comparison visualise.xpl @ 19:9b1b169dc8db

use refs, but broken: doesn't deal with ranges (false negs) or external refs (false pos), and not finding things it should (e.g. kenneth_lay X88)
author Henry S. Thompson <ht@markup.co.uk>
date Tue, 04 Apr 2017 17:45:50 +0100
parents a874f2a81ed2
children a5125a2e77ea
comparison
equal deleted inserted replaced
18:16bba7a0d0bd 19:9b1b169dc8db
29 </p:input> 29 </p:input>
30 <p:input port="stylesheet"> 30 <p:input port="stylesheet">
31 <p:pipe step="ss1" port="result"/> 31 <p:pipe step="ss1" port="result"/>
32 </p:input> 32 </p:input>
33 <p:with-param name="elabDir" select="$elabDir"/> 33 <p:with-param name="elabDir" select="$elabDir"/>
34 </p:xslt>
35
36 <p:load name="ssr">
37 <p:with-option name="href" select="concat($elabDir,'/refs.xsl')"/>
38 </p:load>
39
40 <p:xslt name="refs">
41 <p:input port="source">
42 <p:pipe step="vis" port="source"/>
43 </p:input>
44 <p:input port="stylesheet">
45 <p:pipe step="ssr" port="result"/>
46 </p:input>
34 </p:xslt> 47 </p:xslt>
35 48
36 <p:load name="ss2"> 49 <p:load name="ss2">
37 <p:with-option name="href" select="concat($elabDir,'/rect.xsl')"/> 50 <p:with-option name="href" select="concat($elabDir,'/rect.xsl')"/>
38 </p:load> 51 </p:load>
39 52
40 <p:xslt name="rect"> 53 <p:xslt name="rect">
41 <p:input port="source"> 54 <p:input port="source">
42 <p:pipe step="format" port="result"/> 55 <p:pipe step="format" port="result"/>
56 <p:pipe step="refs" port="result"/>
43 </p:input> 57 </p:input>
44 <p:input port="stylesheet"> 58 <p:input port="stylesheet">
45 <p:pipe step="ss2" port="result"/> 59 <p:pipe step="ss2" port="result"/>
46 </p:input> 60 </p:input>
47 </p:xslt> 61 </p:xslt>
49 <p:choose> 63 <p:choose>
50 <p:when test="p:value-available('format')"> 64 <p:when test="p:value-available('format')">
51 <p:load name="ss3"> 65 <p:load name="ss3">
52 <p:with-option name="href" select="concat($elabDir,'/',$format)"/> 66 <p:with-option name="href" select="concat($elabDir,'/',$format)"/>
53 </p:load> 67 </p:load>
54 <p:xslt name="asc"> 68 <p:xslt name="fmt">
55 <p:input port="source"> 69 <p:input port="source">
56 <p:pipe step="rect" port="result"/> 70 <p:pipe step="rect" port="result"/>
57 </p:input> 71 </p:input>
58 <p:input port="stylesheet"> 72 <p:input port="stylesheet">
59 <p:pipe step="ss3" port="result"/> 73 <p:pipe step="ss3" port="result"/>