Sign In/My Account | View Cart  
advertisement

Article:
 Printing XML: Why CSS Is Better than XSL
Subject: I'd prefer to use CSS but often the power of XSLT is required
Date: 2005-01-20 10:06:09
From: dmini

Very interesting article, thank you. CSS syntax is indeed very concise and clear, but as the author has noted CSS' only purpose is formatting, and to me it means that input XML document has to be structured similar to desired output. XSLT, on the other hand can be used to format XML documents of arbitrary structure.
If this limitation can be dismissed because input is in fact suitable for CSS formatting, I'd definitely choose CSS over XSLT, provided there are tools that can produce output in desired format (in many cases, PDF).

Previous Message Previous Message   Next Message Next Message


Full Text Titles Only Newest First

Sponsored By: