Subject: Re: XSLT, XHTML, and default attribute values [somewhat OT]
From: Joseph Dane <jdane@xxxxxxxxxx>
Date: Mon, 13 Sep 2004 08:31:31 -1000
|
Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> writes:
>>>>>> "Joseph" == Joseph Dane <jdane@xxxxxxxxxx> writes:
>
> Joseph> A consequence of this is that default attribute values get
> Joseph> added to the tree before my processor has a chance operate
> Joseph> on it.
>
> Only if your XML parser reads the DTD. If you can configure it not to
> do so (and most have such a configuration option), then this won't happen.
that's true. but then why not just remove the DTD altogether? then
you don't have to support obscure and/or parser dependant
configuration options.
--
joe
|