create menus using xslt
I have an menu.xml doc like the following
<topiclist type="web dev references">
<topics type="main pages">
<topic><title>home</title><url>main.htm</url>
<topic><title>programs</title><url>faculity_of_technology.htm</url>
</topics>
<topics type="faculity emails">
<topic><title>mail room</title><url>email.htm</url>
<topic><title>inbox</title><url>inbox.htm</url>
<topic><title>outbox</title><url>outbox.htm</url>
</topics>
how do I write my xslt to transform my menu.xml to a formatted html text to create a menu option in html.
menu would look like the following
<main page><Faculity emails>
When ever you move the pointer over the menu, the submenus appear.
drop down menus for "main pages" would be "home" "programs"
can this be done with tables rows and dimensions to create the menu and div tags to create the submenu.
Is the an example of this type of menu code, or can somebody write a quick example for me to play with.
Thanks
Brendon
|