XSL or CSS

XSL and CSS are often viewed as competing options, despite the fact that the first is a markup language and the second is a stylesheet language. However, neither is a transformation language, and XSLT or another transformation language is usually needed to create XSL documents.

Both XSL and CSS are strong candidates for styling XML documents, and at first sight they appear to compete with each other for dominance. But there is no reason why both standards should not continue to succeed, as they offer very different strengths.

Retaining self-descriptive markup

Because CSS is not a markup language, like HTML or XSL, using this standard does not involve the destruction of the self-describing markup in an XML document, and therefore permits ...

Get XML Companion, The, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.