[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XSLT Hall of Shame entry -- DTD pretty printing
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|