Hi All,

I'm not able to get graphics to display in FrameMaker. This is a structured 
environment I've been trying to create based on mil-std 40051 DTD. I think I do 
not know how to set up the RW-Rules.


This is how a graphic is coded in the XML data:


<!ENTITY ja23-0000 SYSTEM "Graphics\ja23-0000.tiff" NDATA TIF>
...
<graphic boardno="ja23-0000"/>



DTD:

<!ELEMENT graphic (mapref*)>
<!ATTLIST graphic
%graphicatt;
   hplace      (left | right | center | none )  #IMPLIED
   graphsty   NMTOKEN  #IMPLIED
   applicable IDREFS #IMPLIED
   %bodyatt;
>



EDD created in FM from above DTD:

Element (Container): graphic
General rule: mapref*
Attribute list
Name: boardno  String  Required
Name: boardfile  String  Optional
Name: reprowid  String  Optional
Name: reprodep  String  Optional
Name: unitmeasure  Choice  Optional
Choices: mm | cm | px | in | pt | pi
Default: in
Name: hscale  String  Optional
Name: vscale  String  Optional
Name: scalefit  Choice  Optional
Choices: yes | no
Name: alt  String  Optional
Name: hplace  Choice  Optional
Choices: left | right | center | none
Name: graphsty  String  Optional
Name: applicable  ID References  Optional
Name: inschlvl  Choice  Optional
Choices: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 
16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 
32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 
48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 
64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 
80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 
96 | 97 | 98 | 99
Default: 0
Name: delchlvl  Choice  Optional
Choices: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 
16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 
32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 
48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 
64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 
80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 
96 | 97 | 98 | 99
Default: 0
Name: comment  String  Optional
Name: changeref  ID References  Optional
Name: idref  ID References  Optional
Name: assocfig  ID References  Optional
Name: skilltrk  String  Optional
Name: security  Choice  Optional
Choices: uc | fouo | c | s | ts



R-W Rules:

element "graphic" {
 is fm graphic element "graphic";
 attribute "boardno"
 {
 is fm property entity;
 is fm attribute;
 }
 }


The R-W rule above gives error:
"Type mismatch for the Framemaker element (graphic). The type defined by the 
read/write rules is different from that defined by the template."

If I change the above to  "is fm graphic element "Graphic";"

Then I will get an invalid Graphic element with the image in FrameMaker, and it 
is much too large.

One thing I read is that a graphic should be in a "graphic" type element rather 
than a container. I could not figure out how to manually create this element 
with the attribute (entity?) boardno, however. Perhaps the EDD and RW Rules are 
both incorrect?

Thanks for any assistance,
C2
_______________________________________________

This message is from the Framers mailing list

Send messages to [email protected]
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to [email protected]

Reply via email to