Unfortunately, there's no way to do this with an XML DTD. However, it's not hard to determine an element's nesting level when processing XML with XSLT or even a FrameMaker EDD. For example, a FrameMaker EDD might specify a text prefix of "Element nested too deeply" to report back to the author when he/she has violated a nesting convention (nesting a <section> too deeply, for example).
-Alan Steve Rickaby wrote: > That reminds me of something I meant to find out. How can you limit the > nesting depth of elements to a value other than zero? > -- --- Alan Houser, President Group Wellesley, Inc. 412-363-3481 www.groupwellesley.com
