On 16 Jan 2013, at 14:41, Torsten Schassan <[log in to unmask]>
> is there any possibility to define to which depth e.g. a ToC will be generated when I use <divGen>?
> If I wanted a ToC at the beginning of every <div> which contains only the children <div>, how would I do that?
I would (ab)use @rend on <divGen>, and change the XSL template which does the work to look at that
> Would it be an attribute on the element <divGen> to define the behaviour or a param of the stylesheets? I think either would make sense. (But at least the default stylesheets don't offer this functionality.)
globally they do
<doc xmlns="http://www.oxygenxml.com/ns/doc/xsl" class="toc" type="string">
<desc>Depth to which table of contents is constructed.</desc>
not on a per <div> basis, though
Director (Research Support) of Academic IT Services
University of Oxford IT Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431