W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2000

Re: Indenting XML

From: Mike Depot <mike@openair.com>
Date: Fri, 21 Apr 2000 13:05:17 -0400
Message-ID: <00a501bfabb3$d7e04c80$0a00a8c0@datatrader.com>
To: <html-tidy@w3.org>
> > I realize XML support isn't all there yet, but I've got a simple
> > situation that I was hoping tidy would help with.  All I'm
> > looking for is to indent a simple (well-formed but not valid)
> > xml file...
> The reason is that your content model for each of the elements
> appears to be mixed. This inference is made when text occurs as
> the immediate child of an element. Tidy won't indent the content
> for elements with mixed content.
> Perhaps this rule is too harsh? Another possibility would be
> indent all element content for indent: yes and to apply the
> current rule only for indent: auto
> What do people think?

Or perhaps a new flag?
Received on Friday, 21 April 2000 13:06:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:47 UTC