FSN#32930 API Documentatie genereren

svn path=/Website/trunk/; revision=25835
This commit is contained in:
Jos Groot Lipman
2015-08-04 12:23:51 +00:00
parent af875e9748
commit 9f525943fe

23
APPL/API2/model_doc.xsl Normal file
View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" encoding="windows-1252" indent="yes"/>
<xsl:template match="/">
<html>
<head>
<link rel="stylesheet" type="text/css" href="../appl/api2/reference.css?"/>
</head>
<body>
<h1>API reference</h1>
<xsl:for-each select="/api/fields/*">
<br />
<xsl:element name="a">
<xsl:attribute name="href">../api2/<xsl:value-of select="local-name()"/>.doc</xsl:attribute>
<xsl:value-of select="local-name()"/>
</xsl:element>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>