xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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

J.Pietschmann


Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor