← Prev in month ← Prev in thread

DTDs newbie question

From
Bertin Jean-Charles <>
To
Date
2002-01-08T00:04:31Z
ID
<>
Thread
DTDs newbie question
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
← Prev in month ← Prev in thread