[Framers] Framers Digest, Vol 149, Issue 20

cuc tu cuc2u at hotmail.com
Tue Aug 28 08:31:21 PDT 2018


Howdy Framers,

I am building a very simple structure, cut down further for this discussion. Some items I have not figured out:

When importing element defs into the template: Elements that are defined but not referenced. The FM str dev guide mentions this one time as a capitalization mismatch (pg33 of the 2015 release), but I cannot see the problem. The elements are Subheading, Description2, SPA, SYSTEM, and File_Title. If I remove the Description2 element and references, then the unreferenced elements are Subheading, Description1, and File_Title.

Some elements need a heading inserted as a paragraph, so I found an example for this in the dev guide, pg234. I'm not getting the prefix text inserted before the Description elements.

Thanks for any assist.
C2

======================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE File SYSTEM "file:///C:/FMStructure/Test.dtd" []>

<File>
<File_Title>File Title</File_Title>
<SYSTEM>
<Description1>SYSTEM description1</Description1>
<Description2>SYSTEM description2</Description2>
</SYSTEM>
<SPA>
<Description1>SPA description1</Description1>
<Description2>SPA description2</Description2>
</SPA>
</File>
======================================================
EDD Version is 12.0
Automatically create formats on import.
Element (Container): File
Valid as the highest-level element.
General rule: <ANY>
Element (Container): File_Title
General rule: <TEXT>
Text format rules
In all contexts.
Use paragraph format: Title
Element (Container): SYSTEM
General rule: <ANY>
Prefix rules
In all contexts.
Prefix: SYSTEM Heading
Text format rules
In all contexts.
Use paragraph format: ChapterHeading
Element (Container): SPA
General rule: <ANY>
Prefix rules
In all contexts.
Prefix: SPA Heading
Text format rules
In all contexts.
Use paragraph format: ChapterHeading
Element (Container): Description1
General rule: <TEXT>
Text format rules
In all contexts.
Use paragraph format: Indented4
Element (Container): Description2
General rule: <TEXT>
Text format rules
In all contexts.
Use paragraph format: Indented4
Element (Container): Subheading
General rule: <TEXT>
Prefix rules
If context is: Description1
Prefix: Insert Description1
Else, if context is:
Prefix: Insert Description2
Text format rules
In all contexts.
Use paragraph format: Heading4
======================================================



More information about the Framers mailing list