Subject: Re: HTML pretty-printing From: Brandon Ibach <bibach@xxxxxxxxxxxxxx> Date: Thu, 16 Jul 1998 11:47:18 -0500 (CDT) |
Dave Raggett said: > > On Wed, 15 Jul 1998, Brandon Ibach wrote: > > > Greetings, DSSSLers... > > I know this came up on the list recently, but I can't seem to find > > the messages about it in the archives. Can anyone make some > > recommendations for a tool to pretty-up the output from Jade's SGML > > Transformation backend, specifically HTML (ie, nice indenting of > > structured tags, such as table stuff)? Minimally, something to put > > the tags back together in more traditional form. > > Have a look at HTML tidy which is designed to fix up broken > HTML and to pretty print the results. > > http://www.w3.org/People/Raggett/tidy > Thanks, Dave. This looks like it will be very helpful. What I may even do is take some pieces of it and combine it with "spam" from James Clark's SP/Jade distribution to create a sophisticated normalizer/pretty-printer system. That way, I'll have full SGML/XML validation of my document against the appropriate DTD, control over how the markup gets transformed (for instance, I kinda like leaving off the closing tags for my <LI> elements), and nice presentation and indentation so the code is nice to look at. Ah, now if I can only find the time for such work. *sigh* By the way... I don't suppose us SGML hackers could get our hands on an early release of that Spice-based browser you're working on, eh? :) -Brandon :) DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: HTML pretty-printing, Dave Raggett | Thread | help with entity-ref, Rachael Sokolowski |
Folio Flat File support, Jim_Albright | Date | help with entity-ref, Rachael Sokolowski |
Month |