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.
Your options:
- Use a modified DTD without the default attributes.
- Add rules to your style sheet which filters unwanted
attributes.
J.Pietschmann