This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
xml to xml identity transforms, and reading the DTD
- To: xsl-list at mulberrytech dot com
- Subject: xml to xml identity transforms, and reading the DTD
- From: Sebastian Rahtz <sebastian dot rahtz at computing-services dot oxford dot ac dot uk>
- Date: Thu, 8 Jun 2000 11:35:21 +0100 (BST)
- References: <93CB64052F94D211BC5D0010A800133101FDEE15@wwmess3.bra01.icl.co.uk>
- Reply-To: xsl-list at mulberrytech dot com
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