Re: [xsl] attribute of a single-tag node

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
On 17 Nov 2006, at 10:24, Michael Kay wrote:
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.

Wel, our help pages used to be in plain HTML and we wrote an extension of the default HTMLEditorKit in Java to simply handle our graph-tag. Now I have to make it possible to transform some internal XML-files dynamically to such help files using XSLT, because we are allowing users to create there own plug-ins.

Current Thread