Am Mittwoch, 6. November 2002 10:31 schrieb Taco Hoekwater:
1st). That's why I always use this parameter entity: <!ENTITY % lang "language CDATA #IMPLIED country CDATA #IMPLIED translit CDATA #IMPLIED">
That means, one may use language="de" or country="de" or translit="de" at the same time? Why? I'd think one attrib would be enough.
Your DTD is not 100% ok. Most of it is just a matter of merging ATTLIST specs, but this one: <!ATTLIST version xml:lang IDREF "en"> is definitely wrong. The IDREF here (and in some other locations) should be CDATA. Generally speaking, ID and IDREF do more harm than good in XML files. It's better to express the Id<->Ref relation in a schema and use CDATA in your Dtds always.
Ok. I got no documentation on schema yet (the new XML book by O'Reilly comes in a month). I just found the ID(REF) thing in my XML docs and thought it would be the right thing.
Sorry, no positive input from me today (no time) ;-)
Thank you nevertheless. I'd be glad that my first try with XML doesn't have more errors! ;-) Grüßlis vom Hraban! -- http://www.fiee.net http://www.ramm.ch ---