e9600d65c173 — Linus Björnstam tip 5 years ago
smll changes to readme and stylesheet.
Support for lists.
2 files changed, 10 insertions(+), 2 deletions(-)

M README.md
M html-out.xsl
M README.md +2 -0
@@ 1,3 1,5 @@ 
+NOT FINISHED. DON'T USE
+
 This is what I use to write my SRFI documents. I write them in XML using emacs (nXML), and transform them to HTML using xsltproc.
 
 This is usable in many ways, since specifying an XSLT stylesheet to extract information and transform it to other formats is trivial.

          
M html-out.xsl +8 -2
@@ 44,7 44,6 @@ 
           </xsl:for-each>
         </p>
 
-
         <!-- Now, just display the different sections. -->
 
         <xsl:apply-templates select="section"/>

          
@@ 78,6 77,14 @@ 
     </pre>
   </xsl:template>
 
+  <xsl:template match="p/ul">
+    <ul>
+      <xsl:for-each select="li">
+        <li><xsl:apply-templates/></li>
+      </xsl:for-each>
+    </ul>
+  </xsl:template>
+
 
 
   <xsl:template name="authors">

          
@@ 94,7 101,6 @@ 
   <xsl:template match="copyright">
     <h1>Copyright</h1>
     Copyright © <xsl:value-of select="."/> <xsl:call-template name="authors"/>
-
     <p>
       Permission is hereby granted, free of charge, to any person
       obtaining a copy of this software and associated documentation files