vty_reference.xsl: handle application specific attributes

Change-Id: I17794b2cb476bd54c7b35a1e23c0727352c3a2a9
Related: SYS#4937
This commit is contained in:
Vadim Yanitskiy 2020-08-17 03:29:36 +07:00 committed by fixeria
parent 0ef694525c
commit d3ac855a38
1 changed files with 25 additions and 0 deletions

View File

@ -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>