Re: msxml 1.6 : ID without DTD Declaration

Rick Jelliffe (ricko@allette.com.au)
Thu, 20 Nov 1997 03:11:20 +1100



>From: Patrice Bonhomme <Patrice.Bonhomme@loria.fr>

>I am developping an XLL package using the msxml parser. But i wondered if we
>can use ID attribute without any DTD declararion ? MSXML use the method
>DTD.findID(Name name) to retrieve an Element with the attribute ID=name, but
>without a DTD declaration i cant call DTD.findID(Name name) !

>Is there a way to get round this ? A kind of : <!ATTLIST ANY ID ID
>#IMPLIED>

The current enhancements to SGML allow pretty much exactly what you suggest.

<!ATTLIST #ALL id ID #IMPLIED>

I am not sure when this will be added into XML. If it is are not in
XML 1.0 then you should lobby for it to go into XML 1.1 (if such
a thing comes).

Rick Jelliffe