Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 11th, 2006, 04:52 PM
Authorized User
 
Join Date: Feb 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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






Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help me to create XSLT condition using C# Nick2006 C# 8 July 12th, 2006 06:48 PM
How do I create a jump menu in XSLT? kwilliams XSLT 4 January 9th, 2006 10:34 AM
How do I create a menu in xslt? TrixiePix XSLT 0 December 8th, 2005 11:22 AM
how can i create menus in Asp.net jayaraj VS.NET 2002/2003 1 May 7th, 2004 02:15 AM
create iframe transparency with xslt fany XSLT 1 November 11th, 2003 12:43 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.