Implied Value Is - Adobe 65030365 - FrameMaker - PC Developer's Manual

Structure application developer's guide
Hide thumbs Also See for 65030365 - FrameMaker - PC:
Table of Contents

Advertisement

26
i m p l i e d v a l u e i s
Examples
If you know that a markup document should always correspond to a FrameMaker book
and that individual files in the book should start when the document reaches a toc or
chapter element, you can use this rule:
reader generate book {
}
With this rule, FrameMaker creates a book for each markup document. In a markup
document, FrameMaker starts a new book component when it encounters a toc or
chapter element. For the first toc element, FrameMaker uses the filename toc1
unless a file of that name already exists in the directory it is using. It continues that book
component until it encounters either another toc element or a chapter element. At that
point, it starts a new book component. It tries to put the first chapter element in a file
called ch1.doc.
Assume that a markup document whose highest-level element is either manual or book
should correspond to a FrameMaker book and any other markup document should
correspond to an individual FrameMaker document. Further assume that the books
created from manual and book elements should have new files for each instance of the
elements chapter, front, or toc. To accomplish all this, you can use this rule:
reader generate book for doctype "manual", "book"
{
}
With this rule, FrameMaker asks you for a name for the book file if you open a markup
document with manual as its document type. If you specify myfile.bk as its name, and
the document contains two chapter elements, one front element, and one toc
element, FrameMaker creates the following files: myfile.bk, ch1.doc, ch2.doc,
front, and myfile.toc.
See also
Related rules
General information
on this topic

implied value is

Use the implied value is rule to specify default attribute values in your EDD to
correspond with imported elements that specify no value for the attribute. For example,
assume your DTD declares an element named list, which has an attribute named style
Read/Write Rules Reference
put element "toc" in file;
put element "chapter" in file "ch.doc";
put element "chapter" in file "ch.doc";
put element "front" in file;
put element "toc" in file "$(bookname).toc";
"output book processing instructions" on page 447
Chapter 24, "Processing Multiple Files as Books"
406

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 7.1

Table of Contents