summaryrefslogtreecommitdiffstats
path: root/dcoppython/shell/marshal_funcs_doc.xsl
blob: 491c188cb78945c221a6cfb03f2a3e784b29027b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?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"/>

  <xsl:template match="/">
    <html>
      <body>
        <xsl:apply-templates/>
      </body>
    </html>
  </xsl:template>

  <xsl:template match="types">
    <h1>DCOPPython supported types</h1>
    <xsl:apply-templates/>
  </xsl:template>

  <xsl:template match="type">
    <h2><xsl:value-of select="@dcoptype"/></h2>
    <xsl:apply-templates select="demarshal-as"/>
    <div>Argument of form:</div>
    <div style="margin-left: 2cm">
      <xsl:for-each select="marshal-as">
        <b><xsl:value-of select="."/></b>
      </xsl:for-each>
    </div>
    <xsl:apply-templates select="info"/>
  </xsl:template>

  <xsl:template match="demarshal-as">
    <div>Returns as: <b><xsl:apply-templates/></b></div>
  </xsl:template>

  <xsl:template match="info">
    <div><xsl:apply-templates/></div>
  </xsl:template>

</xsl:stylesheet>