Gregor J. Rothfuss wrote:
...
> i suppose you could do:
> 
>      <menu name="Maven 2.0">
>        <!-- this is the menu -->
>        <item id="intro" name="Introduction" href="index.html"/>
>        <item id="download" name="Download" href="download/">
>           <item id="1-4" name="1.4" href="1.4.html">
>           <item xml:lang="en" id="1-2" name="1.2" href="1.2.en.html">
>           <item xml:lang="de" id="1-2" name="1.2" href="1.2.de.html">
>        <item visibleinnav="false" name="Road Map" href="roadmap.html" />
>      </menu>
> 
> in essence, augment the maven format with additional attributes as
> required. 

Yes, that's it :-)

Just one thing: visibleinnav="false"... in Forrest we just delete the
@name to make it invisible...

> i suppose maven does not validate site.xml?

That's not so important, as they could do so easily if they want to be
able to render Forrest or Lenya sites. The goal is to not make a
completely different format just for the sake of it.

In any case, xml-lang is another namespace, and the id IIRC can always
be there, so probably it would still validate.

-- 
Nicola Ken Barozzi                   [EMAIL PROTECTED]
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------

Reply via email to