Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2002 17:31:59 -0400
From:      Adam Turoff <ziggy@panix.com>
To:        Dylan Carlson <absinthe@pobox.com>
Cc:        freebsd-doc@FreeBSD.ORG
Subject:   Re: 'tidy' equiv for sgml?
Message-ID:  <20020820213159.GC28162@panix.com>
In-Reply-To: <200208201730.09221.absinthe@pobox.com>
References:  <200208201414.55535.absinthe@pobox.com> <20020820205712.GA28162@panix.com> <200208201730.09221.absinthe@pobox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 20, 2002 at 05:30:09PM -0400, Dylan Carlson wrote:
> On Tuesday 20 August 2002 04:57pm, Adam Turoff wrote:
> > Unfortunately, neither of these tools handle indenting or
> > pretty-printing the output.  Feeding an SGML document through [o]sx,
> > is a good first step; feeding that output through a Perl/Java/Python/C
> > program to add the appropriate amount of pretty-printing is a
> > trivial task.
> 
> Nod.
> I'm just amazed there's not a tool for it right now, if it's indeed that 
> trivial.  

Actually, I spaced out when I wrote that.

Once you convert an SGML document to XML with [o]sx, you can run
the XML version through tidy; just make sure you use the -xml and -m flags.
Check the docs for details.

Z.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020820213159.GC28162>