Re: [xsl] XML Menu Structures, Standards, XSL Template

Subject: Re: [xsl] XML Menu Structures, Standards, XSL Template
From: "Karl Stubsjoen" <kstubs@xxxxxxxxx>
Date: Tue, 13 Mar 2007 17:12:33 -0700
Oh geez, I messed up the original post!  I accidently sent the first
one to myself, then thought I properly forwarded it to the group.
Here is the original POST:


I'm looking to write a menu system in XML/XSL. Is there a proposed XML standard for menus? Also, is there a standard XSL library to go with this?

My ideas are something like this:

<menus level="1" id="MyHeroes">
<menu>Heroes</menu>
</menus>
<menus level="2" parent="MyHeroes">
<menu>Superman</menu>
<menu>Spiderman</menu>
<menu>Speedy Gonzalez</menu.
</menus>


Thanks!


That was the original menu idea. This has since changed to:

<menus id="MyHeroes">
<menu>Speedy Gonzales</menu>
<menu>Spider Man</menu>
 <menus id="JusticeLeague">
   <menu>Super Man</menu>
   <menu>Batman</menu>
 </menus>
</menus>

Then I nice simple recursive template (identity-copy) to build an
unordered list for menu's, add some style, some simple javascript
(prototype.js) and BAM! you have yourself a very cool and configurable
menu system.

Now, has this already been created?

Karl..

On 3/13/07, Kamal Bhatt <kbhatt@xxxxxxxxx> wrote:
Karl Stubsjoen wrote:
>  <menus id="FWK">
>    <menus id="FKW_CHOICES">
>      <menu id="fwk_help"  url="/~help.aspx">FWK Help</menu>
>      <menu id="fkw_template_def" url="/~help.aspx?showFwk=true">FWK
> Template Definition</menu>
>    </menus>
>  <menus id="FKW_CHOICES">
>    <menu id="fwk_help"  url="/~help.aspx">FWK Help</menu>
>    <menu id="fkw_template_def" url="/~help.aspx?showFwk=true">FWK
> Template Definition</menu>
>  </menus>
>  </menus>
>  <menus id="FWK2">
>  <menus id="FKW_CHOICES2">
>    <menu id="fwk_help"  url="/~help.aspx">FWK Help</menu>
>    <menu id="fkw_template_def" url="/~help.aspx?showFwk=true">FWK
> Template Definition</menu>
>  </menus>
>  <menus id="FKW_CHOICES2">
>    <menu id="fwk_help"  url="/~help.aspx">FWK Help</menu>
>    <menu id="fkw_template_def" url="/~help.aspx?showFwk=true">FWK
> Template Definition</menu>
>  </menus>
>  </menus>
>
>
Does a question or statement go with this?

--
Kamal Bhatt

Current Thread