#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2001
    Location
    Singapore
    Posts
    1
    Rep Power
    0

    Anyone knows how to do this?


    Currently, I'm developing a website and I want to use XML with JSP so that it can show not only html, but also xhtml, wml and other formats in future.

    I have a problem with this as I need to be able to create XML documents on the fly by extracting data from a database. Has anyone tried to do this? Too difficult? Any help would be appreciated. Thanks.
  2. #2
  3. No Profile Picture
    Python Prophet
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2001
    Location
    Amersfoort, The Netherlands
    Posts
    45
    Rep Power
    14
    Of course it isn't difficult, you can just dynamically generate the XML. If you know how XML works, it isn't really different from outputting HTML.
    Some people, when confronted with a problem, think I know, I'll use regular expressions. Now they have two problems. - Jamie Zawinski, in comp.lang.emacs

IMN logo majestic logo threadwatch logo seochat tools logo