28
APPL/API2/reference.xsl
Normal file
28
APPL/API2/reference.xsl
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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 <xsl:value-of select="/api/records_name"/>xx</h1>
|
||||
Record name: <xsl:value-of select="/api/record_name"/><br />
|
||||
Records name: <xsl:value-of select="/api/records_name"/><br />
|
||||
Example:
|
||||
<div class="sample">
|
||||
GET /api2/<xsl:value-of select="/api/records_name"/>.html
|
||||
</div>
|
||||
<h2>Fields list</h2>
|
||||
<xsl:for-each select="/api/fields/*">
|
||||
<h3>Field <xsl:value-of select="local-name()"/></h3>
|
||||
Name: <xsl:value-of select="local-name()"/><br />
|
||||
Filter: <xsl:value-of select="filter"/>
|
||||
</xsl:for-each>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
Reference in New Issue
Block a user