xsl-list
[Top] [All Lists]

[xsl] what's the best way to do this

2012-01-05 04:33:38


Hello, 

 

Last question and then I have the site ready.

 

I have now this xml : 

 

 <menu> 

     <section id="9" handle="dagboek">Dagboek</section> 

           <year value="2005"> 

           <month value="03"> 

               <entry id="17" /> 

           </month> 

            <month value="02"> 

                <entry id="16" />

                <entry id="15" /> 

                <entry id="14" /> 

            </month> 

          </year> 

</menu>

 

And I like to have this output : 

 

<div id="firstpane" class="menu_list"> 

     <p class="menu_head">2005</p>    

     <div class="menu_body">       

         <a href="#">februari</a>

         <a href="#">maart </a>    

     </div>  

</div>

 

And I wonder now what's the best approach to get all the months under the year ?

 

Regards,

 

Roelof

                                          
--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>