XSLT vs. CSS
|
XSLT |
CSS |
| allows either server side or client side styling | client side only |
| "Allows document structure transformation": elements can be duplicated, suppressed, added | "Cannot modify document structure" |
| data can be extract in specified order, in particular, they can be sorted | no |
| "Allows any document node to be mapped to a template" | "Only element and attribute nodes can be mapped to a rule" |
| support arbitrary processing through extensions | no |
| Is interactive | interactivity depends on browser support |
| "Allows a node to be mapped to a group of visual objects" | "Allows a node to be mapped to a single visual object" |
| "Allows mapping to different target rendering languages" | "Allows mapping to only one visual model" |
Mostly from: What Place Has CSS in the XML World? by Didier Martin March 08, 2000