usawa

Signed, immutable accounting.
Info | Log | Files | Refs | Submodules | LICENSE

present.xsl (742B)


      1 <?xml version="1.0"?>
      2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:df="http://usawa.defalsify.org/">
      3 	<xsl:template match="/">
      4 		<html>
      5 			<head>
      6 				<title>Accounting</title>
      7 			</head>
      8 			<body>
      9 				<xsl:apply-templates select="df:ledger" />
     10 			</body>
     11 		</html>
     12 	</xsl:template>
     13 
     14 	<xsl:template match="/df:ledger">
     15 		<p>Documento recuperado: <xsl:value-of select="df:retrieved" /> from <xsl:value-of select="df:src" /></p>
     16 		<xsl:for-each select="df:entry">
     17 			<p><xsl:value-of select="df:data/df:serial" />:<xsl:value-of select="df:data/df:date" />:<xsl:value-of select="df:data/df:ref" /></p>
     18 		</xsl:for-each>
     19 	</xsl:template>
     20 
     21 </xsl:stylesheet>