Quantcast
Channel: Adobe Community : Popular Discussions - FrameMaker Structured
Viewing all articles
Browse latest Browse all 66580

How to specify the table style in context rules for paragraphs in tables

$
0
0

Hi all,

I set up table formats for different types of notes and the roundtrip XML<->FM works so far. However, I have not been able to format the paragraphs within the tables using context rules.

 

When I insert a table of a certain type (e.g. table_warning), then FM writes this type into the outputclass of the table's tgroup element when saving as XML. So I thought for the paragraph elements in the table I could use a rule that specifies a context like this:

 

* < tgroup[outputclass = "table_warning"]

 

Yet FM does not recognize the outputclass type.How can I address the table type in context rules?

 

Edit: I have been able to succeed when I wrap the entire table into an additional note element and manually define the outputclass for the note. Then I can use a context like * < note[outputclass = "table_warning"]. But I would prefer to omit the extra note element and refer to the table type directly.

 

Robert


Viewing all articles
Browse latest Browse all 66580

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>