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

Subject: Re: [xsl] XML Menu Structures, Standards, XSL Template
From: Rashmi Rubdi <dev_subscriptions@xxxxxxxxx>
Date: Tue, 13 Mar 2007 17:20:54 -0700 (PDT)
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@xxxxxxxxx>
To:
xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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@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
>
>
>
--~------------------------------------------------------------------
>
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@xxxxxxxxxxxxxxxxxxxxxx>
> --~--
_____________________________________________________________________________
_______
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

Current Thread