[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XSLT Hall of Shame entry -- DTD pretty printing

Subject: XSLT Hall of Shame entry -- DTD pretty printing
From: Warren Hedley <w.hedley@xxxxxxxxxxxxxx>
Date: Thu, 09 Aug 2001 09:07:18 +1200
dtd pretty
Hi folks,

Here's my entry to the (unofficial) XSLT Hall of Shame, for posterity. A set of
stylesheets that can "pretty print" the text of a DTD that has been preprocessed
by escaping all less-thans. I'm confident this must rank pretty highly amongst the
most inappropriate uses for XSLT out there.

The documentation and download is here:

http://www.physiome.org.nz/xslt_tools/dtd_pretty_printer/index.html

If you want to skip straight to some examples, here's the XHTML 1.0 Transitional
DTD as HTML and PDF (the latter generated from LaTeX)

http://www.physiome.org.nz/xslt_tools/dtd_pretty_printer/xhtml_1_transitional_dtd.html
http://www.physiome.org.nz/xslt_tools/dtd_pretty_printer/xhtml_1_transitional_dtd.pdf

The documentation (particularly the comments in the stylesheets themselves) are
somewhat sparse -- someday I may get around to adding more.

Note that an XML Pretty Printer is also available on this website -- it's similar to
Oliver Becker's (I think we were developing them at the same time), but mine has some
additional formatting features.

The terms of use are completely open, so feel free to go ahead and use these yourself.

If anyone's wondering "why?", these tools were developed as a means to decently document
another language I'm working on: CellML. The final version of the specification for that
will be out shortly. The current spec, from 18 May, is available in it's entirety here:

http://www.cellml.org/public/specification/cellml_specification.html

Enjoy,
Warren Hedley

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.