[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

dtd limit depth of elements

Subject: dtd limit depth of elements
From: "Hubert Holtz" <Turnhose_alt@xxxxxxx>
Date: Sat, 25 Jan 2003 15:43:16 +0100
dtd limit
Hy,

again another dtd question.

I have a sect element, which I would like to have only 3 levels of depth inside itself.
And in this section and the 2 under the first there can be other elements like list,para and so on.

So that this xml code should be valid:
<sect>
	<sect>
		<sect>
			<list>
				<entry>test<entry>
			</list>
		</sect>
		<para>bla</para>
	</sect>
	<para>next bla</para>
</sect>

But another sect inside the third has to be invalid!
So, how can i limit the depth of elements inside a dtd?

I had a look at the xml-dev maillist archive but didn't find an example, so I hope someone in this list knows it.
Thanks,again :-)

Homer30s


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.