Reputation: 2639
can anybody explain the role that XSL can play when dynamically generating HTML pages from a relational database?
Upvotes: 1
Views: 662
Reputation: 1116
Generally speaking, XSL can act as a presentation layer to adapt/customize the naked data retrieved by a data access layer from a database. This layering can be good because:
XSL is particularly well-suited for dealing with structured data like those retrieved from a database, and adding an output format may just mean copying and pasting an existing XSL into another one with minor tweaks. On the other side, XSL can rapidly become a nightmare if you have to consider lots of odd cases.
Without further information (are you talking of server-side apps or desktop apps? Which programming language/platform?) I can't give more specific advice.
Upvotes: 1