FM > XML > FM Table Problem

Lynne A. Price lprice at txstruct.com
Wed Apr 19 10:21:54 PDT 2006


At 05:35 PM 4/18/2006, Lofthouse Marsha-PT1816 wrote:
>I'm getting the following error - many of them - when I save a
>structured FM file as xml and then try to open it in FM:
>
><path>; line 70
>FrameMaker cannot insert the table cell (Entry) at the current position.
>A cell must be in a table row.
>
>The file validates as does the EDD.
>...
>When I look at the xml file saved from FM, I see what I want:
><AnchorTable>
><Table xreftarget = "blah">
><TCaption>More blah blah</TCaption>
><THead>...

Marsha,
   The problem is that you have not specified the number of columns in the 
table. If the number of columns is fixed, you can specify it with a r/w 
rule. Otherwise, specify it in an XML-only attribute of the Table element. 
If you use the name "cols" for the attribute, you won't need a r/w rule. 
Otherwise, use a rule such as:

     attribute "myattname" is fm property columns;

         --Lynne

Lynne A. Price
Text Structure Consulting, Inc.
Specializing in structured FrameMaker consulting, application development, 
and training
lprice at txstruct.com            http://www.txstruct.com
voice/fax: (510) 583-1505      cell phone: (510) 421-2284 





More information about the framers mailing list