Skip to content

How the output for a simple XML file can be viewed?

I am very brand new to XML and am trying to write a simple code on a note pad. How can I have the output being displayed on the IE like the regular HTML file? In other words, is XML different from HTML when it comes to viewing the output display? Thank you for your help.

2 Comments

  1. enkleeno1 wrote:

    XML is very different from HTML. It is not used for making web pages. It is a way of storing data in a text file in a format that can be read by many different programs on many different platforms.

    XSL (or XSLT) is used to take the data from the XML file and convert it into another more human-readable format, such as HTML, or PDF etc. Using a single XML file to hold the data you can have different XSL stylesheets change that data into HTML, or PDF or whatever other format you need. It’s kind of like having a text file based database.

    Friday, January 8, 2010 at 3:23 pm | Permalink
  2. i_hates_spam wrote:

    You need to use an XSLT — Extensible Style Sheet.

    http://www.w3.org/Style/XSL/

    Friday, January 8, 2010 at 3:23 pm | Permalink

Post a Comment

Your email is never published nor shared.