The request is: be possible to define more then one user
menus in the navigation.xml. The patch is very simple:

--
--- src/xsd/maven-navigation-1.0.xsd.old        2002-11-06 17:24:00.000000000 +0100
+++ src/xsd/maven-navigation-1.0.xsd    2003-01-19 00:00:33.000000000 +0100
@@ -17,7 +17,7 @@
     <xs:complexType>
       <xs:sequence>
         <xs:element ref="links" minOccurs="0" />
-        <xs:element ref="menu" minOccurs="0" />
+        <xs:element ref="menu" minOccurs="0" maxOccurs="unbounded"/>
       </xs:sequence>
     </xs:complexType>
   </xs:element>
--

It makes it possible a more disciplined grouping of the user part of the
xdoc generated menu. E.g.

--
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="Foo Bar">
  <title>Foo Bar</title>
  <body>
    <links>
      <item name="FooBar"      href="http://foo.bar/foobar/"/>
    </links>
    <menu name="Overview">
      <item name="Goals"       href="/goals/" />
      <item name="News"        href="/news/" />
      <item name="Todo"        href="/todo/" />
      <item name="Download"    href="/download/" />
    </menu>
    <menu name="Documentation">
      <item name="User Guide"            href="/userguide/" />
      <item name="Developer Guide"       href="/devguide/" />
    </menu>
  </body>
</project>
--

I'm actually using this, as the site.jsl processes it w/o a hitch.
Just would like to know it official and be sure that this hidden
feature won't go away.

incze

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to