Treehouse: Grow your CSS skills. Land your dream job.

Generate HTML from XML?

  • # August 17, 2010 at 1:36 pm

    I have a client that does regular trade shows. Is there a way to create a .xml file with dates to all those trade shows and have the next upcoming show based on the date update the html page?

    I’m guessing this is far more complicated than I was hoping but I figured I would pose the question here because these forums have been so helpful in the past.

    If there is a better way that is pretty much hands-off for a client I’m all ears!

    # August 17, 2010 at 5:08 pm

    Are you talking about XSLT? It’s used for generating an HTML Document from an XML document

    # August 17, 2010 at 5:54 pm

    Yeah, XSLT was the first thing that entered my mind, however javascript would work well also, as long as it’s enabled. It would need a parser however… good thing there’s a lot of them

    # August 18, 2010 at 7:54 am

    I have never dealt with .xslt I’ll have to do some research on that one.
    Looks somewhat clumsy but I guess as long as it does what I need everyone is happy! Thanks for the prompt responses.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.