#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2002
    Posts
    98
    Rep Power
    13

    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?
    Attached Files
  2. #2
  3. No Profile Picture
    Moderator =(8^(|)
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2002
    Location
    Sacramento, CA
    Posts
    1,710
    Rep Power
    14
    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
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Location
    new york
    Posts
    84
    Rep Power
    13
    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/X...ans/page1.html


    justin.dago

IMN logo majestic logo threadwatch logo seochat tools logo