Change in osmo-gsm-manuals[master]: vty_reference.xsl: handle application specific attributes

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Mon Sep 21 14:12:38 UTC 2020


fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/19676 )

Change subject: vty_reference.xsl: handle application specific attributes
......................................................................

vty_reference.xsl: handle application specific attributes

Change-Id: I17794b2cb476bd54c7b35a1e23c0727352c3a2a9
Related: SYS#4937
---
M vty_reference.xsl
1 file changed, 25 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  fixeria: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



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>

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-manuals/+/19676
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-manuals
Gerrit-Branch: master
Gerrit-Change-Id: I17794b2cb476bd54c7b35a1e23c0727352c3a2a9
Gerrit-Change-Number: 19676
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200921/0057952d/attachment.htm>


More information about the gerrit-log mailing list