An xml
file gives you structured data which is defined by the tags that you
create yourself. To display this structured data to the user with some
formatting and styles is the proper way to do. Otherwise, if you attempt
to view this data, you will see a tree like structure of your data in
the browser.
_______________________________________________
_______________________________________________
So
you have to create an xsl file that has all the formatting needed to
display that structured data in to an html file. This xsl file is included
at the top of the xml file so that when the user views the xml file.
The data
is displayed according to the formatting instructions given in the xsl
file. You can create xsl files using tools like Dreamweaver, XMLSpy
etc. There are many tools available in the market and some of them are
also freeware.
The code
given below embeds a style sheet into the xml file.
<?xml-stylesheet
type="text/xsl" href="xsl_file.xslt"?>
Upon embedding
this xsl file, the xml file is transformed into html according to the
formatting instructions given in the xsl file.
Recent Original Stories (OS News)
"Trolltech has released the Qt 4.4.0 technical preview, a pre-release that allows software developers to begin experimenting with the new features that the company has implemented for the next version.
Aetna, Citi, Deutsche Telekom AG and UNINETT Win 2008 Liberty Alliance IDDY Awards (PR Newswire via Yahoo! Finance)
Liberty Alliance, the global identity community working to build a more trust-worthy internet for consumers, governments and businesses worldwide, today announced Aetna, Citi, Deutsche Telekom AG and UNINETT have won the 2008 IDDY Award.
Alchemy Software Development Unveils Alchemy PUBLISHER 2.0 (Business Wire via Yahoo! Finance)
DUBLIN, Ireland----Alchemy Software Development, a world leader in visual localization solutions, today announced the release of Alchemy PUBLISHER 2.0; the next generation of the world's most popular visual localization technology that provides advanced translation memory for documentation.
360Works Releases ScriptMaster 2.0 at DevCon 2008 (Centre Daily Times)
360Works, a leading FileMaker product developer, is releasing a new version of its ScriptMaster tool at the 2008 FileMaker Developers Conference in Phoenix, AZ later this month. A completely free, modular plugin for FileMaker, ScriptMaster allows developers to use Java code even without Java expertise. Version 2.0 includes modules for file manipulation, URL downloads, XML Web Services, encoding ...