| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<xsl:stylesheet version="1.0" |
| 3 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
| 4 |
|
| 5 |
<xsl:output |
| 6 |
method="xml" |
| 7 |
doctype-public="-//OASIS//DTD DocBook XML V4.5//EN" |
| 8 |
doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" |
| 9 |
/> |
| 10 |
|
| 11 |
<xsl:template match="nm-setting-docs"> |
| 12 |
<chapter> |
| 13 |
<title>Configuration Settings</title> |
| 14 |
<xsl:apply-templates/> |
| 15 |
</chapter> |
| 16 |
</xsl:template> |
| 17 |
|
| 18 |
<xsl:template match="setting"> |
| 19 |
<refentry> |
| 20 |
<xsl:attribute name="id">settings-<xsl:value-of select="@name"/></xsl:attribute> |
| 21 |
<refnamediv> |
| 22 |
<refname><xsl:value-of select="@name"/></refname> |
| 23 |
<refpurpose><xsl:value-of select="@description"/></refpurpose> |
| 24 |
</refnamediv> |
| 25 |
<refsect1 role="properties"> |
| 26 |
<title> |
| 27 |
<xsl:attribute name="id">settings-<xsl:value-of select="@name"/>.properties</xsl:attribute> |
| 28 |
Properties |
| 29 |
</title> |
| 30 |
<para> |
| 31 |
<table> |
| 32 |
<tgroup cols="4"> |
| 33 |
<thead> |
| 34 |
<row> |
| 35 |
<entry>Key Name</entry> |
| 36 |
<entry>Value Type</entry> |
| 37 |
<entry>Default Value</entry> |
| 38 |
<entry>Value Description</entry> |
| 39 |
</row> |
| 40 |
</thead> |
| 41 |
<tbody> |
| 42 |
<xsl:apply-templates/> |
| 43 |
</tbody> |
| 44 |
</tgroup> |
| 45 |
</table> |
| 46 |
</para> |
| 47 |
</refsect1> |
| 48 |
</refentry> |
| 49 |
</xsl:template> |
| 50 |
|
| 51 |
<xsl:template match="property"> |
| 52 |
<xsl:variable name="setting_name" select="../@name"/> |
| 53 |
<row> |
| 54 |
<entry><screen> |
| 55 |
<xsl:value-of select="@name"/> |
| 56 |
<indexterm> |
| 57 |
<xsl:attribute name="zone">settings-<xsl:value-of select="../@name"/></xsl:attribute> |
| 58 |
<primary> |
| 59 |
<xsl:attribute name="sortas"><xsl:value-of select="@name"/></xsl:attribute> |
| 60 |
<xsl:value-of select="@name"/> |
| 61 |
</primary> |
| 62 |
</indexterm> |
| 63 |
</screen></entry> |
| 64 |
<entry><screen><xsl:value-of select="@type"/></screen></entry> |
| 65 |
<entry><screen><xsl:value-of select="@default"/></screen></entry> |
| 66 |
<entry><xsl:value-of select="description"/><xsl:if test="@type = 'NMSettingSecretFlags'"> (see <xref linkend="secrets-flags"/> for flag values)</xsl:if></entry> |
| 67 |
</row> |
| 68 |
</xsl:template> |
| 69 |
|
| 70 |
</xsl:stylesheet> |