RE: markup editorial: <div class="p">

> 
> Possibly there are some cases like you mention, but surely 
> here you could use a real <p>?
> 

What objective are you trying to meet? 

When you're generating code, the main objective is to make it correct, the
second objective is to keep the code generator simple; generating code that
looks similar to the code that a human might have written doesn't usually
come into it. A code generator will often exploit constructs that seem
artificial to human authors, for the sake of orthogonality.

Michael Kay
http://www.saxonica.com/

Received on Tuesday, 8 July 2008 07:09:11 UTC