From 25c232dabcfbaebb8295916bed92a56d9a18966f Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Wed, 13 Jun 2007 22:21:25 +0000
Subject: [PATCH] Add support for tagging managed object definitions so that similar types of managed object can be grouped together. Tagging will enable us to automatically generate more user-friendly documentation and administration tools as a result of them being easier to navigate and search. For example, an administration CLI will be able to split the available set of sub-commands into categories, thus making it easier for administrators to find the sub-command that they need.
---
opends/resource/admin/messagesMO.xsl | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/opends/resource/admin/messagesMO.xsl b/opends/resource/admin/messagesMO.xsl
index b47d891..4bbdc1a 100644
--- a/opends/resource/admin/messagesMO.xsl
+++ b/opends/resource/admin/messagesMO.xsl
@@ -62,6 +62,16 @@
select="concat('description=', normalize-space($this/adm:description), '
')" />
</xsl:if>
<!--
+ Process tag definitions if this is the root configuration.
+ -->
+ <xsl:if test="$this-is-root">
+ <xsl:for-each select="$this/adm:tag-definition">
+ <xsl:sort select="@name" />
+ <xsl:value-of
+ select="concat('tag.', @name, '.synopsis=', normalize-space(adm:synopsis), '
')" />
+ </xsl:for-each>
+ </xsl:if>
+ <!--
Process each property definition.
-->
<xsl:for-each select="$this-all-properties">
--
Gitblit v1.10.0