Click here to Skip to main content
15,884,986 members
Articles / Web Development / CSS

Using XSLT to Generate a Multi-level Tree Menu from XML

Rate me:
Please Sign up or sign in to vote.
4.31/5 (9 votes)
28 Feb 20022 min read 213.2K   1.9K   46  
A simple and generic way to use XSLT to generate a multi-level HTML tree menu from an XML source
body
{
   font-family: Verdana;
   font-size: x-small;
}
.IsVisible
{
   display: block;
}
.NotVisible
{
   display: none;
}
.Expander
{
   cursor: hand;
   font-family: Courier;
}
.Parent DIV
{
   margin-Left: 15px !important;
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


Written By
Web Developer
South Africa South Africa
I live in the Northern Suburbs of Cape Town (South Africa).

Comments and Discussions