Skip to main content
Known Participant
May 9, 2013
Question

MIL-STD 40051 Template

  • May 9, 2013
  • 3 replies
  • 1833 views

Can someone please help me with the construction of a template. I have a template I've used for my unstructured files. Can I use that with the EDD imported as the Template for my structured development? Attached is my file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Chapter "C:\Program Files (x86)\Adobe\AdobeFrameMaker11\Structure\xml\manualRewrite\40051C_3_28.dtd">
<?xml-stylesheet href="manualRewrite_template.css" type="text/css" charset="UTF-8"?>
<XML>
<TITLE> </TITLE><Header>
<A ID="pgfId-1081880"></A>
Master Pages - Choose one of these three master pages for your first page based on number of lines in title.</Header>
<Header>
<A ID="pgfId-1086876"></A>
First_1line_title</Header>
<Header>
<A ID="pgfId-1086895"></A>
First_2line_title</Header>
<Header>
<A ID="pgfId-1086902"></A>
First_3line_title</Header>
<Header>
<A ID="pgfId-1086865"></A>
Header - First page is setup in 3 different layouts, based on number of lines in title.</Header>
<Header>
<A ID="pgfId-1085675"></A>
Style:</Header>
<Header>
<A ID="pgfId-1085689"></A>
TM for technical manual number, centered</Header>
<Body>
<A ID="pgfId-1085698"></A>
WP # is tabbed right aligned, setup using Volume Number Variable, change zeros depending on number of digits)</Body>
<Heading1>
<A ID="pgfId-1085256"></A>
heading1 - paragraph title only</Heading1>
<Body>
<A ID="pgfId-1085257"></A>
Body</Body>
<Heading2>
<A ID="pgfId-1085258"></A>
Heading2</Heading2>
<Body>
<A ID="pgfId-1085259"></A>
Text follows using a Body style</Body>
<Heading3>
<A ID="pgfId-1085260"></A>
Heading3</Heading3>
<Body>
<A ID="pgfId-1085261"></A>
</Body>
<Body>
<A ID="pgfId-1088888"></A>
Text follows using a Body style and wraps back to left edge</Body>
<Heading4>
<A ID="pgfId-1088889"></A>
Heading4</Heading4>
<Body>
<A ID="pgfId-1089023"></A>
</Body>
<Heading-4-Text>
<A ID="pgfId-1089024"></A>
Heading 4 text</Heading-4-Text>
<Heading5>
<A ID="pgfId-1085727"></A>
Heading5</Heading5>
<Body>
<A ID="pgfId-1085780"></A>
</Body>

...  [etc.]

</XML>

[message edited by moderator]

This topic has been closed for replies.

3 replies

Known Participant
May 10, 2013

Ian, I would like to follow your suggestion but I hit a snag trying to open the dtd in FrameMaker.

The MIL-STD dtd, 40051C_3_28.dtd, generates errors. Running the dtd through W3C Validator, no ENTITIES can be declared
for example: line xxxx, Column 3:"ENTITY" declaration not allowed in prolog
the xml line is: <!ENTITY % notationset PUBLIC"....."charent/caracterent">
any help on how can I fix these errors yet retain the definitions?...or other approaches?

Ian Proudfoot
Legend
May 10, 2013

I think you need to have a look at the Structure Application Developer's Guide and Reference documents. These explain the whole process of creating structured applications in FrameMaker. There is a lot to learn, but it should be worthwhile. http://help.adobe.com/en_US/FrameMaker/9.0/StructuredDev/Structure_Dev_Guide.pdf and http://help.adobe.com/en_US/FrameMaker/9.0/StructuredDev/Structure_Dev_Reference.pdf

The reason for the errors with the W3C Validator is because a DTD is not HTML or XML. It uses its own syntax. So don't worry, the 40051C DTD is valid.

Ian

Ian Proudfoot
Legend
May 9, 2013

Charles,

Where does the XML come from? It is not a valid 40051C XML instance. Before you can get to where you want to go with FrameMaker, or any other XML editor, the XML must be valid against the DTD.

In fact it's not actually a well formed XML file because the root element's name is illegal. "XML" cannot be used as an element name. There are various other XML problems too which would get in the way of a sucessful conversion from unstructured to structured.

However to answer your original question, yes you can use your existing unstructured template as a basis for a structured template that supports the 40051C DTD. You would import the 40051C DTD as a FrameMaker EDD then use that to define the application of your existing Paragraph and Character formats.

Ian

Arnis Gubins
Inspiring
May 9, 2013

If you use the actual .fm binary file as your template, you should be OK if the EDD maps the elements to the respective paratags and other styles in that template.