Results 1 to 5 of 5

Thread: XML Display

  1. #1
    Join Date
    Jan 2010
    Beans
    25
    Distro
    Ubuntu 10.04 Lucid Lynx

    XML Display

    Hi!

    I am working on a program that will take an XML document, and display it using HTML... Could I get some help?
    Help a brother out... and play an awesome game.
    http://uc.GamesTotal.com/?tft=23egu

  2. #2
    Join Date
    May 2006
    Beans
    1,790

    Re: XML Display

    Quote Originally Posted by Tp2357 View Post
    Hi!

    I am working on a program that will take an XML document, and display it using HTML... Could I get some help?
    What kind of help do you need?

    Have you chosen the programming language? Do you know how it should be presented on the page? The same way as xmllint --format does?

  3. #3
    Join Date
    Mar 2005
    Beans
    947
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: XML Display

    XSLT and CSS are your friends.

  4. #4
    Join Date
    Jan 2010
    Beans
    25
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: XML Display

    Mainly I need help with the theory of the code to accomplish it. I am amazing with HTML, and okay with Javascript. Is it possible to accomplish it with these languages?
    Help a brother out... and play an awesome game.
    http://uc.GamesTotal.com/?tft=23egu

  5. #5
    Join Date
    Jul 2008
    Beans
    1,491

    Re: XML Display

    If you want to do the following:

    take XML Doc -> process -> get ‘webpage’ (HTML tree); then XSLT + CSS is definitely the way to go.

    If you want to do the following:

    inject XML Doc from some source into webpage as styled text; then you can do this with JavaScript. In fact, there is a SyntaxHighlighter ready made for the purpose, and it works with more than just XML.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •