summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2020-08-17 03:29:36 +0700
committerfixeria <vyanitskiy@sysmocom.de>2020-09-21 14:12:38 +0000
commitd3ac855a38340b7b41a102f9698ebea34d1d22db (patch)
treebbddad7872e2da476c1d9aeff7981a96a5134fd1
parent0ef694525cc77b9c8819e920f8b5943d5db6a8b4 (diff)
vty_reference.xsl: handle application specific attributes
-rw-r--r--vty_reference.xsl25
1 files changed, 25 insertions, 0 deletions
diff --git a/vty_reference.xsl b/vty_reference.xsl
index e9d380c..414a1a8 100644
--- a/vty_reference.xsl
+++ b/vty_reference.xsl
@@ -40,6 +40,31 @@
</listitem>
</varlistentry></variablelist>
+ <xsl:if test="./vty:attributes[@scope='application']">
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ <para>Attributes</para>
+ </listitem>
+ </varlistentry>
+ <xsl:for-each select="./vty:attributes[@scope='application']/*">
+ <varlistentry>
+ <listitem>
+ <xsl:choose>
+ <xsl:when test="@flag">
+ <para>Flag: <xsl:value-of select="@flag" /></para>
+ </xsl:when>
+ <xsl:otherwise>
+ <para>Flag: (not assigned)</para>
+ </xsl:otherwise>
+ </xsl:choose>
+ <para><xsl:value-of select="@doc" /></para>
+ </listitem>
+ </varlistentry>
+ </xsl:for-each>
+ </variablelist>
+ </xsl:if>
+
<variablelist>
<varlistentry>
<listitem>