Hello Pascal,

I'm sorry to come back on this but I do not understand your example... :/

My underlying question is the following: what is the proper method which can
be used to associate a set of traits with specific values to a given "fo"
For example here:
associate a 2mm top, bottom, left and right padding to
a particular cell (<fo:cell>) in a particular table (<fo:table>).

With CSS and HTML, we would:
- declare a class C in a css stylesheet,
- in which we would set the various paddings
- and we would set the "class" attribute of a particular <td class="C">
element in a particular <table> element using this C value as forementioned.

The solution I proposed in my first post does this trick: I reckon the logic
is the same as above (in the CSS case).
Yet, you said this is not the more appropriate solution and you proposed
another one...
In this other solution you proposed, I do not understand what this
<myElement> element is.    
What am I supposed to replace it with?
Where does this element have to be declared?

Note that I do not want ALL the <fo:cell> cells in the document to have
these styles applied uniformly, I want only some specific cells I choose to
have these styles applied.

I want my code to be writen properly but as you see I'm confused with your

Thank you for helping.
Best regards.
View this message in context: 
Sent from the FOP - Users mailing list archive at Nabble.com.

To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to