Hello everyone,
I thought I'd figured out how to implement dictionary headers, but my
strategy does not seem to be working. Here's what I've got:
The XML
-------
<NP>
<NPL>
<NPLROW>Some Stuff</NPLROW>
</NPL>
<NPL>
<NPLROW>Some Stuff</NPLROW>
</NPL
<NPL>
<NPLROW>Some Stuff</NPLROW>
</NPL
<NPL>
<NPLROW>Some Stuff</NPLROW>
</NPL
.
.
.(etc)
</NP>
My stylesheet:
--------------
<fo:page-sequence master-reference="stockIndex">
<fo:static-content flow-name="regionAfterColumnsRight">
<fo:retrieve-marker retrieve-class-name="dictionary"
retrieve-boundary="page"
retrieve-position="first-starting-within-page"/>
<xsl:text> THRU </xsl:text>
<fo:retrieve-marker retrieve-class-name="dictionary"
retrieve-boundary="page"
retrieve-position="last-ending-within-page"/>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:table>
<xsl:apply-templates/>
</fo:table>
</fo:flow>
</fo:page-sequence>
<xsl:template match select="NPLROW">
<fo:table-body>
<fo:marker marker-class-name="dictionary">
<xsl:apply-templates/>
</fo:marker>
<fo:table-row>
<fo:table-cell>
<xsl:apply-templates/>
</fo:table-cell>
</fo:table-row>
</fo:table>
</xsl:template>
The resulting fo document:
--------------------------
<fo:page-sequence master-reference="stockIndex">
<fo:static-content flow-name="regionAfterColumnsRight">
<fo:retrieve-marker retrieve-class-name="dictionary"
retrieve-boundary="page"
retrieve-position="first-starting-within-page"/>
THRU
<fo:retrieve-marker retrieve-class-name="dictionary"
retrieve-boundary="page"
retrieve-position="last-ending-within-page"/>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:table>
<fo:table-body>
<fo:marker marker-class-name="dictionary">Some Stuff</fo:marker>
<fo:table-row>
<fo:table-cell>
<fo:block>Some Stuff</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
<fo:table-body>
<fo:marker marker-class-name="dictionary">Some Stuff</fo:marker>
<fo:table-row>
<fo:table-cell>
<fo:block>Some Stuff</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
<fo:table-body>
<fo:marker marker-class-name="dictionary">Some Stuff</fo:marker>
<fo:table-row>
<fo:table-cell>
<fo:block>Some Stuff</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
.
.
.
.(etc)
</fo:table>
</fo:flow>
</fo:page-sequence>
To me everything looks great, however in the resulting pdf document only the
"THRU" appears in the footer. There are no values for the dictionary
retrieve-markers. Any ideas why??
Thanks,
-Tracy :-)
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--