Christian Stocker <[EMAIL PROTECTED]> writes:

> Hi
> 
> > Perhaps there could be a proprietary output method 'xhtml', which uses
> > the HTML rules (to decide if a tag should be container or not) and
> > which for example would use <br /> and <h1></> instead of <br/> and
> > <h1/> ?
> 
> it doesn't have to be a proprietary output method, it's enough, if the
> xml-method outputs all empty tags with a space before the /> . That sould
> be valid xml as well.

Well, sure, but the <tag/> is not the only compatibility problem
between HTML and XML. You would want to avoid using <tag></tag> syntax
(which in XML is == <tag/>) for non-containers. Also you don't want to
use <tag />  syntax for containers, empty or not. For example <h1 />
would generate the rest of the document using header 1. <h1></h1> on
the other hand would do nothing.

Since there already seems to be a xhtml extension in the CVS, I'd say
the problem is solved. :-)

-- 
[ Below is a random fortune, which is unrelated to the above message. ]
Guillotine, n.:
        A French chopping center.

Reply via email to