Subject: Re: [xsl] attribute of a single-tag node|
From: Nico Van Cleemput <Nicolas.VanCleemput@xxxxxxxx>
Date: Fri, 17 Nov 2006 10:38:08 +0100
It would be the serializer that needs to change, not the parser.
The HTML output method will use self-closing tags for elements that are
defined in the HTML specification to have an empty content model. The
serializer doesn't know anything about your private extensions to HTML, so
it uses the XML conventions for these. You will have to check with the
product vendor whether they allow the serializer to be customized, or you
will have to write your own serializer.
Why are you doing this? If you want a markup language that allows user extensions, there's a rather good one called XML.