OK. I've tracked down the source of the message

[ERROR]: fo:marker must be an initial child,and 'marker-class-name' must be unique for same parent

If there is any space or line-feeds between the <fo:block> and <fo:marker> tags, then the fo:block's initial child is that space or line-feed character data
You can get this in your intermediate fo output if, in the xsl, you have
<xsl:output method="xml" indent="yes"/> or method="html" etc.
or
<xsl:output method="xml"/> (default indent="yes")


Therefore marker usage requires that you use indent="no" in your xsl:output statement

Then in the stylesheet you need to have

<fo:block><fo:marker marker-class-name="whatever">

So that the style sheet doesn't insert space data as the initial child

Chuck Paussa



Reply via email to