Basic question about Structured Frame
Andrew Avis
aavis at qnx.com
Wed Mar 14 06:55:13 PDT 2007
> The question is this: if our documents were authored in
> Structured Frame, could we use the same topic at a heading 1
> level in one document and at a heading 2 level in another
> document? If so, in a very general way (no need to write a
> small book!) how does this work?
Hi Rick, it depends entirely on your DTD/Schema, but if designed correctly,
it's easy to do. For example, assume your DTD has a <section> element,
which contains a <title> and <para>:
<section>
<title>My Section</title>
<para>Some content.</para>
</section>
You could allow the <section> element to be used in other sections, or at
the top level of a chapter:
<chapter>
<section>
<title>My Section</title>
<para>Some content.</para>
<section>
<title>My Second Section</title>
<para>Some more content.</para>
</section>
</section>
Using the level rules in your Frame EDD, you could format the <title>
according to its level.
For an example that implements this concept, see the recursive section
element in DocBook:
http://www.docbook.org/tdg5/en/html/section.html
If you have a copy of Frame, you can open a new, blank DocBook document, and
play around with nested sections to get an idea.
Drew Avis - Technical Writer
QNX Software Systems Ltd.
Ottawa, Ontario
More information about the framers
mailing list