Re: Indenting XML

> > 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?
indent-mixed:

Received on Friday, 21 April 2000 13:06:02 UTC