Newbie structure Q: was Re: Structure/Schema - Custom or off the shelf?
Steve Rickaby
srickaby at wordmongers.demon.co.uk
Fri Feb 3 02:56:43 PST 2006
At 5:23 am -0500 3/2/06, Alan Houser wrote:
>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).
Right: so you can use a level rule to *alert* the user, but there's nothing you can do to actually *remove* the element from the element catalog when selecting it would invalidate a nesting depth restriction, right?
--
Steve
More information about the framers
mailing list