XSLT
XSLT Contents
Summary A simple menu build with XML/XSLT
Well this is one of my first snippets with this XSLT, so any comment are welcomed...
I tried to make simple menu navigation built with XSLT with the menu options in a XML file, this will build a fraction of HTML to be putted on the DIV section in the main HTML page. The hiding and show stuff is done using DHTML and a bit of JavaScript.
The structure of the XML file is the following:
For each separated menu you need to create a <menu> tag and define there the global settings for that menu. Then inside the menu you can make several division creating a child tag of <menu> named <separator ID=1 Description=XML Links> being that the @Description is the text that will be showed. And finally you create the items for that separator with the tag <option ID=1 Description=W3C url=http://www.w3c.org/> being that the @Description is the text that will be showed and the @url is the URL that will be used if the user clicks that item.
Partners
Dream.In.Code dotNet Slackers dotNet Spider Your HTML Source VisualBuilder.com DevGuru Planet Source Code ZVON.ORG Web Design ASPAlliance XML Pitstop Scripts
The Spot 4 SAP Bitshop Web Hosting