|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
||||
|
||||
|
Turning XML/XSl into menu bar
I have made an XML document, and a simple XSL stylesheet to display it. I want to turn this XML into a navigation bar for my site. However, since I'm still a big novice at XML, I haven't a clue of how to do this. Should I use XLink and some more XSL? Or could I use PHP?
|
|
#2
|
|||
|
|||
|
Good start. All you need to do now is add to your xsl to make the menu you want.
I'd suggest making/finding a menu system that you like and adapting it to your needs. **edit** You don't need to worry about XLink, just have your xsl write the <a href's |
|
#3
|
|||
|
|||
|
you could use php, but more specifically, the sablotron extension to make the transformation from xml to html happen on the server.
here's a nice introduction: http://www.devshed.com/Server_Side/...rans/page1.html justin.dago |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > Turning XML/XSl into menu bar |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|