Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple elements in DTD

Status
Not open for further replies.

sroberts82

Programmer
Oct 11, 2005
36
0
0
US
Hi,
I have an XML doc i want to write a DTD for. I have element a and he can have 0 to 4 children of element b. How do i write this in a DTD?

I know ? mean (0,1), + means (1,infinity) and * means (0, infinity) is there something I am missing?
Thanks,
Ste

 
Clumsy may it be, but that's the practice.
[tt] <!ELEMENT a (b?,b?,b?,b?)>[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top