[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XSLT Hall of Shame entry -- DTD pretty printing


Subject: Re: [xsl] XSLT Hall of Shame entry -- DTD pretty printing
From: cagle@xxxxxxxxx (Kurt Cagle)
Date: Wed, 8 Aug 2001 16:40:52 -0700

Warren,

I don't think its inappropriate at all. DTDs are still, and will be for some
time an integral part of the XML space, and a pretty printer for DTDs is a
utility that I have on occasion wished I had available.

-- Kurt Cagle

----- Original Message -----
From: "Warren Hedley" <w.hedley@xxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, August 08, 2001 2:07 PM
Subject: [xsl] 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_transitiona
l_dtd.html
>
http://www.physiome.org.nz/xslt_tools/dtd_pretty_printer/xhtml_1_transitiona
l_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
>
>


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



Current Thread
Keywords