Msg#: 3723820 posted 11:41 pm on Aug 17, 2008 (gmt 0)
using XML/XSL pros: - easy to transform the data into a variety of formats and alternative HTML layouts - improved ease of maintainance - the data is ripe for offering as a public API - you're less likely to allow XSS vulnerabilities - the XSLT layer offers separation from the data access layer
cons: - it is more expensive in terms of CPU/memory. (But not by that much) - XSLT has a challenging learning curve - dealing with data that contains escaped characters and text/html markup can be challenging (just make sure your test data contains lots of nasty tainted stuff, so your code handles it properly)
Msg#: 3723820 posted 10:43 am on Aug 18, 2008 (gmt 0)
If you just have a db full of movie titles then why not use asp.net and fetch data directly into a DataSet then bind it to a control such as a GridView. Takes about 3 lines of code, no xml and no server side scripting to loop through them. Easy!