On 11.11.2010 18:30:40 Tom Browder wrote:
> I need to pass a comment or pi into my fo output from my docbook
> source.  Is there any way to do that within the languages now?  Is
> there such a thing as an xsl:fo comment?

No, XSL-FO has no specific elements for comments. It provides the "id"
property for most FO elements which are used to uniquely identify some
element. Also, there is the "role" property that indicates what element
name in the original XML document produced a certain FO element, but
that doesn't identify an element uniquely.

> My motivation is to get docbook tables centered in print.  The method
> shown on the fop site works for a specific table, but only if the
> actual table width is somehow passed to fo.  A customization layer in
> db xsl works with that dimension hardwired but, until this newb
> figures out how to get the db xsl code working, I figure it's easier
> to post process the fo file.
> 
> The best I can do to pass something that shows up in the fo file is
> via the xml:id attribute, but I would rather have a more general way
> to zero in on the specific table element and actual width.  I could
> probably pass something like "xml:id='tableX-actual-width-3in'" and
> kludge it from there.

In that case it seems to make more sense to investigate if you can
produce a role property.

> Note that I have asked the db experts for xsl customization help.
> 
> Thanks for any help or suggestions.

HTH

> -Tom
> 
> Thomas M. Browder, Jr.
> Niceville, Florida
> USA



Jeremias Maerki


---------------------------------------------------------------------
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