This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

xml to xml identity transforms, and reading the DTD


Can I raise an issue in near-identity transforms?

When I write a cleanup script in XSL, the XML/XSLT processor reads my
document and the DTD, and outputs values for attributes which are
defaulted in the DTD. For example, an ATTLIST for a element contains

        org (composite | uniform) "uniform"

so my XML output has "org='uniform'" every time the element
occurs. Quite right too, thats what the DTD says. But it is 
very irritating in practice.

You will say "remove the DOCTYPE", but thats a bore. And I might need a
DTD subset.

So the question is, do any of the XML parsers which I might plug in to
(say) Saxon support this minimal level of DTD reading, in which
default values are NOT applied?

Sebastian


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]