Using XSL and CSS Together
I've already mentioned that XSL and CSS are not bitter rivals, and that they can actually be used together. In fact, the current state of browser support for XSL almost requires a hybrid approach involving both technologies. The following are three ways in which XSL and CSS can be used together to provide a hybrid XML style sheet solution:
Use XSL on the server to transform XML documents into HTML documents that are styled with CSS style sheets.
Use XSL on the server to transform XML documents into XML documents that are styled with CSS style sheets.
Use XSL on the client to transform XML documents into HTML documents that are styled with CSS style sheets.
Just in case you couldn't tell, these approaches to using XSL ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access