[Zope3-checkins] CVS: Zope3/src/zope/app/contentdirective - meta.zcml:1.3

Jim Fulton jim@zope.com
Fri, 27 Dec 2002 18:30:26 -0500


Update of /cvs-repository/Zope3/src/zope/app/contentdirective
In directory cvs.zope.org:/tmp/cvs-serv15212/src/zope/app/contentdirective

Modified Files:
	meta.zcml 
Log Message:
Changed to use description elements for multi-line descriptions.


=== Zope3/src/zope/app/contentdirective/meta.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/contentdirective/meta.zcml:1.2	Wed Dec 25 09:12:49 2002
+++ Zope3/src/zope/app/contentdirective/meta.zcml	Fri Dec 27 18:29:56 2002
@@ -7,83 +7,117 @@
       name="content"
       handler="zope.app.contentdirective.contentdirective.ContentDirective"
       description="Make a component available as a content object type"
-  >
+      >
     <attribute
         name="class"
         required="yes"
-        description="resolvable name of a class" />
+        description="resolvable name of a class" 
+        />
+
+    <subdirective name="implements">
+
+      <description>
+            Declare that the class given by the content
+            directive's class attribute implements a given interface
+        </description>
 
-    <subdirective
-        name="implements"
-        description="Declare that the class given by the content
-            directive's class attribute implements a given interface"
-    >
       <attribute
           name="interface"
           required="yes"
-          description="resolvable name of an Interface" />
+          description="resolvable name of an Interface" 
+          />
     </subdirective>
 
-    <subdirective
-        name="require"
-        description="Indicate that the a specified list of names or the
+    <subdirective name="require">
+      <description>
+          Indicate that the a specified list of names or the
           names in a given Interface require a given permission for
-          access."
-    >
+          access.
+        </description>
+
       <attribute
           name="permission"
           required="yes"
-          description="a permission id" />
+          description="a permission id" 
+          />
+
       <attribute
           name="attributes"
-          description="space-separated list of attribute names" />
+          description="space-separated list of attribute names" 
+          />
+
       <attribute
           name="interface"
-          description="the resolvable name of an interface" />
-      <attribute
-          name="like_class"
-          description="a class on which the security requirements
-              for this class will be based" />
+          description="the resolvable name of an interface" 
+          />
+
+      <attribute name="like_class">
+        <description>
+              a class on which the security requirements
+              for this class will be based 
+            </description>
+        </attribute>
+
     </subdirective>
 
-    <subdirective
-        name="allow"
-        description="Declare a part of the class to be publicly
+    <subdirective name="allow">
+      <description>
+            Declare a part of the class to be publicly
             viewable (that is, requires the zope.Public
             permission).  Only one of the following two
-            attributes may be used."
-    >
+            attributes may be used.
+         </description>
+
       <attribute
           name="attributes"
-          description="space-separated list of attribute names" />
+          description="space-separated list of attribute names" 
+          />
+
       <attribute
           name="interface"
-          description="the resolvable name of an interface" />
+          description="the resolvable name of an interface" 
+          />
+
     </subdirective>
-    <subdirective
-        name="factory"
-        description="Specify the factory used to create this
-            content object"
-    >
-      <attribute
-          name="permission"
-          description="permission id required to use this factory.
+
+    <subdirective name="factory">
+
+      <description>
+            Specify the factory used to create this
+            content object
+        </description>
+
+      <attribute name="permission">
+        <description>
+              permission id required to use this factory.
               Although optional, this attribute should normally
-              be specified." />
-      <attribute
-          name="id"
-          description="the identifier for this factory in the
+              be specified. 
+              </description>
+        </attribute>
+
+      <attribute name="id">
+        <description>
+              the identifier for this factory in the
               ZMI factory identification scheme.  If not given, defaults
               to the literal string given as the content directive's
-              'class' attribute." />
-      <attribute
-          name="title"
-          description="text suitable for use in the 'add content' menu of
-              a management interface" />
-      <attribute
-          name="description"
-          description="longer narrative description of what this
-              factory does" />
+              'class' attribute. 
+            </description>
+        </attribute>
+
+      <attribute name="title">
+        <description>
+              text suitable for use in the 'add content' menu of
+              a management interface 
+            </description>
+        </attribute>
+
+      <attribute name="description">
+        <description>
+              longer narrative description of what this
+              factory does 
+          </description>
+        </attribute>
+
     </subdirective> 
   </directive>
 </directives>