diff 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
line wrap: on
line diff
--- a/visualise.xpl	Tue Apr 04 16:20:46 2017 +0100
+++ b/visualise.xpl	Tue Apr 04 17:45:50 2017 +0100
@@ -31,8 +31,21 @@
    <p:pipe step="ss1" port="result"/>
   </p:input>
   <p:with-param name="elabDir" select="$elabDir"/>
+ </p:xslt> 
+ 
+ <p:load name="ssr">
+  <p:with-option name="href" select="concat($elabDir,'/refs.xsl')"/>
+ </p:load>
+
+ <p:xslt name="refs">
+  <p:input port="source">
+   <p:pipe step="vis" port="source"/>
+  </p:input>
+  <p:input port="stylesheet">
+     <p:pipe step="ssr" port="result"/>
+    </p:input>
  </p:xslt>
- 
+
  <p:load name="ss2">
   <p:with-option name="href" select="concat($elabDir,'/rect.xsl')"/>
  </p:load>
@@ -40,6 +53,7 @@
  <p:xslt name="rect">
    <p:input port="source">
     <p:pipe step="format" port="result"/>
+    <p:pipe step="refs" port="result"/>
    </p:input>
   <p:input port="stylesheet">
    <p:pipe step="ss2" port="result"/>
@@ -51,7 +65,7 @@
    <p:load name="ss3">
     <p:with-option name="href" select="concat($elabDir,'/',$format)"/>
    </p:load>
-   <p:xslt name="asc">
+   <p:xslt name="fmt">
     <p:input port="source">
      <p:pipe step="rect" port="result"/>
     </p:input>