Hi Ed...

Just to confirm Rick's statement, that table support in XML documents is very limited. If you want to do anything beyond what's provided by the underlying table format definition, you'll need to use some type of scripting (ExtendScript, FrameScript, FDK client plugin).

...scott

Scott Prentice
Leximation, Inc.
www.leximation.com
+1.415.485.1892

On 7/10/13 4:08 AM, Rick Quatro wrote:

Hi Ed,

I am not sure if this is possible with stock FrameMaker but it could be done automatically with an ExtendScript script when you open the file. If you are interested in exploring this, please contact me off-list. Thanks.

Rick

Rick Quatro

Carmen Publishing Inc.

585-283-5045

[email protected]

*From:*[email protected] [mailto:[email protected]] *On Behalf Of *Ed Nodland
*Sent:* Tuesday, July 09, 2013 7:41 PM
*To:* [email protected]
*Subject:* Custom Ruling and Shading of Tables via xml and EDD rules

I have XML files that include tables.  Some cells include a class such as:

<td class="cheader"> Centered text with gray shading

<td class="header"> Left justified text with gray shading

<td class="cbody"> Centered text not shaded

<td class="body"> Left justified text not shaded

I want to be able to open the XML file using FM10 and have the cells formatted.

I do not see a "Custom Ruling and Shading" EDD Rule that allows ruling and shading to be defined for a cell based on a Context Rule such as [class="cheader"].

_Am I missing something?_

It appears that using the table format styles are limited to an orderly set of rulings and shadings rather than being totally custom or XML attribute driven for specific rows or cells.

I can change the markup or take a totally different approach but I nered the format to be driven by the XML data not manual activity in Framemaker aftrer opening the XML file..

_Any suggestions?_

 Ed Nodland




_______________________________________________


You are currently subscribed to framers as [email protected].

Send list messages to [email protected].

To unsubscribe send a blank email to
[email protected]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [email protected]. Visit
http://www.frameusers.com/ for more resources and info.

Reply via email to