diff visualise.xpl @ 60:588cb9ba7c9c

display of reffed info via colour minimally working
author Henry S. Thompson <ht@markup.co.uk>
date Fri, 02 Jun 2017 15:50:43 +0100
parents 5d9806f90896
children
line wrap: on
line diff
--- a/visualise.xpl	Fri Jun 02 12:54:54 2017 +0100
+++ b/visualise.xpl	Fri Jun 02 15:50:43 2017 +0100
@@ -169,6 +169,21 @@
     </p:input>
  </p:xslt>
  
+ <p:load name="ssb">
+  <p:with-option name="href" select="concat($elabDir,'/backref.xsl')"/>
+  <p:documentation>
+   <div>Add backref info</div>
+  </p:documentation>
+ </p:load>
+ 
+ <p:xslt name="backref">
+  <p:input port="source">
+   <p:pipe step="merge" port="result"/>
+  </p:input>
+  <p:input port="stylesheet">
+     <p:pipe step="ssb" port="result"/>
+    </p:input>
+ </p:xslt>
  <p:choose> 
   <p:when test="p:value-available('format')">
    <p:load name="ss3">
@@ -176,7 +191,7 @@
    </p:load>
    <p:xslt name="fmt">
     <p:input port="source">
-     <p:pipe step="merge" port="result"/>
+     <p:pipe step="backref" port="result"/>
     </p:input>
     <p:input port="stylesheet">
      <p:pipe step="ss3" port="result"/>
@@ -186,7 +201,7 @@
   <p:otherwise>
    <p:identity>
     <p:input port="source">
-     <p:pipe step="merge" port="result"/>
+     <p:pipe step="backref" port="result"/>
     </p:input>
    </p:identity>
   </p:otherwise>