I had a similar question a few days ago :-)
http://www.biglist.com/lists/xsl-list/archives/200702/msg00498.html
here's the solution by Gabriel Osorio
http://www.biglist.com/lists/xsl-list/archives/200702/msg00499.html
-Rashmi
----- Original Message ----
From: Karl Stubsjoen <kstubs(_at_)gmail(_dot_)com>
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Sent: Tuesday, March 13, 2007 8:12:33 PM
Subject: Re: [xsl] XML Menu Structures, Standards, XSL Template
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(_at_)tt(_dot_)com(_dot_)au> 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
ICES2">
<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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--