Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP.NET + XML - Good for small news-script?

Status
Not open for further replies.

Olavxxx

Programmer
Sep 21, 2004
1,134
NO
Hi, I converted/rebuilt this sample for an asp.net / xml guestbook into a news-script.

Only one thing.. I know I have to use CDATA to store HTML in XML.

Should I use XML or go for Access db?
I dont have admin access to a sql db on the server, so I prefer a file I can access via the LAN, as I then have more control.

I have made the script work, but if I try to insert HTML, even with HtmlEncode , it will crash if I use any tags like <br />, etc.

Should I just implement the cdata, or should I go away from XML for this purpose?

Ps. the data-limit is not very high, maybe 1-2 article per week! I thought XML could be nice, as it could then be "shared" via RSS.

Though, I guess I could also export to XML from a db, through asp.. What would you people do? Pros and Cons?

I dont know if the XML will be much slower than access?
Also I guess its harder to manage/delete/edit. (I have only the insert and output atm.)

ps. I'm writing the code in textpad :p so I dont have the RAD.

Olav Alexander Mjelde
Admin & Webmaster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top