FSN#32930 API Documentatie genereren
svn path=/Website/trunk/; revision=25835
This commit is contained in:
23
APPL/API2/model_doc.xsl
Normal file
23
APPL/API2/model_doc.xsl
Normal 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>
|
||||
Reference in New Issue
Block a user