Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Opening Text file in xml

HI there

I'm not very familiar with xml and i'm building a website, and i have a textfile called news.txt which is updated daily, and I want to open this file in an xml, and i also like to know if there is a way i can format this file to to appear in a newspaper format(in columns/paragraphs).
[312 byte] By [Thagi] at [2007-11-11 8:36:03]
# 1 Re: Opening Text file in xml
if your text file is plain text, then you'll first need to convert it to an XML format (http://www.stylusstudio.com/convert_to_xml.html). Once the text file is in an XML format (or if it was already in XML) then you can use an XSLT editor (http://www.stylusstudio.com/xslt_editor.html) to write a stylesheet to transform the XML into a desired output format, for example, a newspaper layout, or whatever. hope that helps.

Sincerely,
The Stylus Studio Team
http://www.stylusstudio.com
stylusstudio at 2007-11-11 23:28:31 >