vty_reference.xsl: handle application specific attributes
Change-Id: I17794b2cb476bd54c7b35a1e23c0727352c3a2a9 Related: SYS#4937
This commit is contained in:
parent
0ef694525c
commit
d3ac855a38
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue