Basic and Advance XML Programming Question:

Describe the role that XSL can play when dynamically generating HTML pages from a relational database?

XML Interview Question
XML Interview Question

Answer:

Even if candidates have never participated in a project involving this type of architecture, they should recognize it as one of the common uses of XML. Querying a database and then formatting the result set so that it can be validated as an XML document allows developers to translate the data into an HTML table using XSLT rules. Consequently, the format of the resulting HTML table can be modified without changing the database query or application code since the document rendering logic is isolated to the XSLT rules.


Previous QuestionNext Question
Describe the differences between XML and HTML?What is SGML?