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

  • To: xml-dev@l...
  • Subject: dtd:how to limit the depth of an element
  • From: "Hubert Holtz" <Turnhose_alt@g...>
  • Date: Sat, 25 Jan 2003 13:23:38 +0100

Hy,

I want to use a sect element in my xml, which can be used for 3 levels of depth.
That's how it looks at the moment, but i know this doesn't limit the depth.

<!ELEMENT sect (titel,(sect|link|email|adresse|liste|para|form|bericht
				|projekt|faq|kurs|dozenten)*)>
..

With this dtd it's possible to use sect inside a sect as often as I want, which is fine.
But it doesn't limit the depth, how to do that?


Thanks
Homer30


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