Chris,
At 03:39 PM 8/10/2010, you wrote:
I'm putting together a 500 page academic catalog where each of the
60 departments has it's own title page and subsequent content. The
title page is styled differently then the remaining pages, so each
department itself is a <page-sequence> so that I can style the
"first" page of each department accordingly. Multiple
<page-sequence>'s makes sense in this context and it's worked smoothly.
I then have to generate an index at the end of the catalog that
references specific id's in the text of the department
<page-sequences>'s. However, if I have <fo:block id="english"> in
the English Department's content, it seems I can't then reference it
by doing <fo:page-number-citation ref-id="english"> from within the
index's <page-sequence>. I've also tried <fo:inline id="english"> but no luck.
What you describe should work: using page-number-citation/@ref-id you
should be able to point to any identifier you have generated, on anything.
What are you seeing that tells you it's not working?
You might confirm that your identifiers (e.g. 'english') are actually
unique in your FO instance. Also, if your page numbering isn't
working, the generated references won't be right either -- so in your
arrangement, you shouldn't be restarting page numbering with each new
sequence. Have you confirmed that the numbering is correct?
I know that I can put an id on the <page-sequences>'s themselves and
then reference them, but in this case, I need to reference material
inside the text (i.e. not just the first or last page of a page-sequence).
That is perfectly normal and the technology is designed to let you do it.
Cheers,
Wendell
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================
--~------------------------------------------------------------------
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>
--~--