At 22:55 16-09-2001, Oren Y wrote:
>how to map an idl typedef to dtd?
>suppose i have this idl:
> struct A
> string s1;
> string s2;
> typedef A B;
>the A struct i would map to (string is another predefined element):
> <!ELEMENT A (string, string)>
Hmm... I suspect that it would be better to define A as a content model:
<!ENTITY % A "(string, string)">
and to have B use that:
<!ELEMENT B %A;>
This is directly analogous to defining and then using a complex type in
XSDL, as well.
Christopher R. Maden, Principal Consultant, HMM Consulting Int'l, Inc.
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://www.hmmci.com/ > <URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4 5DFC AC52 F825 AFEC 58DA