Browser capabilities database
We need to have some knowledge on what are the capabilities of the browser to generate:
- correct pages, with no additional elements or attributes which can cause errors on the device
- enhance the user experience for that particular device by making use of features available for that particular browser
The database should be extensible and allow specifying browser variants, which derive from a given browser type but have certain new or modified attributes
Solution: use an XML format to describe the data and pass the capabilities of the current browser in the XSLT stylesheets