Exforsys
+ Reply to Thread
Results 1 to 8 of 8

how to display xml in html?

This is a discussion on how to display xml in html? within the XML forums, part of the Programming Talk category; how to display xml in html?...

  1. #1
    alexxblue is offline Junior Member Array
    Join Date
    Mar 2007
    Answers
    1

    how to display xml in html?

    how to display xml in html?


  2. #2
    pixelrage is offline Junior Member Array
    Join Date
    Mar 2007
    Answers
    1
    You can use XSLT to render the page for you. A great tutorial can be found here.XSLT stands for XSL Transformations. In this tutorial you will learn how to use XSLT to transform XML documents into other formats, like XHTML.

    www.w3schools.com


  3. #3
    knightmare1 is offline Junior Member Array
    Join Date
    Mar 2007
    Answers
    1
    You can do so by embedding an XML tag in the HTML document which points to a datasource (meaning your xml document that contains the data) like so:And then you can use that datasource to display it inline with the HTML:The above example was taken from www.w3schools.com. Hope it helps.


  4. #4
    marrydavidson10 is offline Junior Member Array
    Join Date
    Apr 2010
    Answers
    1
    yahoo is always there in best regards. yahoo is great


  5. #5
    prsvin is offline Junior Member Array
    Join Date
    Oct 2010
    Answers
    5
    Quote Originally Posted by alexxblue View Post
    how to display xml in html?
    by embedding XML tag in html script.


  6. #6
    techvinny is offline Moderator Array
    Join Date
    Dec 2010
    Answers
    56
    Embedding XML within a HTML document was referred by the term, XML Data Island. Since most of the browsers nowadays are capable of rendering XML instances, you are relieved that it would get displayed.

    However, the rendering of XML data island would be as per the browser. In case, you wish to apply your own styles, you could make use of XSLT to render XML the way you want to.


  7. #7
    sudha06 is offline Junior Member Array
    Join Date
    Mar 2011
    Answers
    15
    yahoo is great yahoo is always there in best regards.


  8. #8
    ChilllinX is offline Junior Member Array
    Join Date
    Nov 2011
    Answers
    14
    thanks for the site...def will come in handy


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...