vgritsenko 2002/07/13 11:43:21 Modified: src/webapp/samples/tutorial Tag: cocoon_2_0_3_branch menu.xml Log: improve navigation a bit more Revision Changes Path No revision No revision 1.1.2.1 +22 -20 xml-cocoon2/src/webapp/samples/tutorial/menu.xml Index: menu.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/tutorial/menu.xml,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -u -r1.1 -r1.1.2.1 --- menu.xml 18 Mar 2002 19:23:07 -0000 1.1 +++ menu.xml 13 Jul 2002 18:43:21 -0000 1.1.2.1 @@ -1,20 +1,22 @@ -<?xml version="1.0"?> - -<!DOCTYPE menu [ -<!ELEMENT menu (item|group)*> -<!ELEMENT group (item)*> -<!ATTLIST group link CDATA #REQUIRED - title CDATA #REQUIRED> -<!ELEMENT item EMPTY> -<!ATTLIST item link CDATA #REQUIRED - title CDATA #REQUIRED> -]> - -<menu> - <group link="home.html" title="search"> - <item link="search-dept.html" title="find department"/> - <item link="search-empl.html" title="find employee"/> - </group> - <item link="create-dept.html" title="new department"/> - <item link="create-empl.html" title="new employee"/> -</menu> +<?xml version="1.0"?> + +<!DOCTYPE menu [ +<!ELEMENT menu (item|group)*> +<!ELEMENT group (item)*> +<!ATTLIST group link CDATA #REQUIRED + title CDATA #REQUIRED> +<!ELEMENT item EMPTY> +<!ATTLIST item link CDATA #REQUIRED + title CDATA #REQUIRED> +]> + +<menu> + <item link="../" title="Welcome"/> + <item link="../welcome" title="Samples"/> + <group link="home.html" title="Tutorial"> + <item link="search-dept.html" title="Find department"/> + <item link="search-empl.html" title="Find employee"/> + <item link="create-dept.html" title="Create department"/> + <item link="create-empl.html" title="Create employee"/> + </group> +</menu>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]