[Home] [By Thread] [By Date] [Recent Entries]


Im trying to write my first DTD and encounter my first problem...

I defined these elements:

<!ELEMENT value (string | int | struct) >
<!ELEMENT int (#PCDATA) >
<!ELEMENT string (#PCDATA) >
<!ELEMENT struct (member)+ >
<!ELEMENT member (name, value) >
<!ELEMENT name (#PCDATA)>

but now i want to define a element 'registry' which a value struct like 
this:
<registry>
     <value>
         <struct>
         ...
         </struct>
     </value>
</registry>

Do i need a schema for that ?

---
Jean-Charles Bertin
Mipsys
TechnoParc du Griffon
511, Route de la Seds
13127 Vitrolles

Tel +33 (0)4 42 46 77 50
Fax +33 (0)4 42 46 77 59



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member