[XSL-LIST Mailing List Archive Home]
Re: [xsl] DOCTYPE causes appearance of unwanted attributes
Subject: Re: [xsl] DOCTYPE causes appearance of unwanted attributes|
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Tue, 27 Jul 2004 01:13:26 +0200
Paul DuBois wrote:
The DOCTYPE is correct, but I'm not interested in having the transform
add a bunch of unnecessary verbiage to an already large file. Having
explicit attributes included with the values that they would have anyway
adds no information.
The parser is *required* to report the default attributes to the
XSLT processor, which, ignorant of their origin in the DTD,
faithfully drops them into the output.
- Use a modified DTD without the default attributes.
- Add rules to your style sheet which filters unwanted