XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 Printing XML: Why CSS Is Better than XSL
Subject: why it's not better, specifically when doing TOCs
Date: 2005-02-01 14:48:05
From: howcom
Response to: why it's not better, specifically when doing TOCs

True, CSS cannot generate the TOC. (Some proposals for how to express this have been floating around, but none are supported by common tools.) So, if you want to automatically generate a TOC you must use another tool. For example, W3C has published a tool called "multitoc" as part of the html-xml-utils package. Or, you can use XSLT or Perl to generate a TOC. We believe in using different tools for different tasks. Making a TOC is one task and styling it is another. The paper tries to explain why CSS is a better style sheet language.

No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938