PDA

View Full Version : Text file or XML?


kraftomatic
12-12-2003, 08:53 PM
Hey All,

I've been searching through the forum here a little bit, but wanted to get some opinions on text files vs. XML.

I have a site running ASP files, where I have a couple sections I want to make a little easier to update. A "news" and "press releases" section.

Basically, the News section will consist of a date, and a body of content. The Press Release section will be about the same, with maybe an additional text heading.

The main goal here is to make it easy to update. The ASP pages are just going to be spitting out the information obviously, so I'd like CSS to handle the formatting for headings, dates, and the main content.

Any suggestions?

Thanks.

kraftomatic
12-16-2003, 09:42 PM
anyone? all those views and no one knows? :D

nolachrymose
12-16-2003, 11:12 PM
If I were you, I'd go with XML. It seems each news item has a structure, and XML can provide it. Text files aren't very structured, and they probably won't supply you with the sort of organization you need.

Hope that helps!

Happy coding! :)