[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Indented HTML Lists > Multiple Levels
Hi all,
I would like to call on your expert minds to solve what ought to be a simple query (but for the life of me, I can't figure it out). I'm using PHP4/Sabletron/etc I'm after a "html menu" created from XML listed below: xxxxxxxxxxxxx <?xml version="1.0" encoding="iso-8859-1"?> <site> <page name="home" id="1"> <title>Welcome to our Website</title> <page name="products" id="2"> <title>Welcome to our Website</title> <page name="wig" id="3"> <title>Welcome to our Website</title> <page name="tool" id="4"> <title>Welcome to our Website</title> </page> <page name="wig tool" id="5"> <title>Welcome to our Website</title> </page> </page> </page> <page name="faq" id="6"> <title>Welcome to our Website</title> </page> </page> </site> xxxxxxxxxxxxx So, what I need is something like: xxxxxxxxxxxxx <ul> <li>home</li> <ul> <li>products</li> <ul> <li>wig</li> <ul> <li>wig tool</li> </ul> </ul> </ul> <ul> <li>faq</li> </ul> </ul> xxxxxxxxxxxxx Any help would be greatly appreciated. <estragon> _________________________________________________________________ Sell your car for $9 on carpoint.com.au http://www.carpoint.com.au/sellyourcar
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|