[xep-support] Indexing again

Nikolai Grigoriev grig at renderx.com
Wed Jan 16 10:35:37 PST 2002


> > 1. To facilitate further parsing, start each item (index entries
> > and page-numbers) on a separate line. This guarantees that you
> > get a separate instance of <text> element in the output XML.
> 
> To my experience, <fo:page-number-citation> always generates a new <text>
> element in the XEP XML output, no matter how the XSLT looks. Is this the
> expected behaviour? Judging from your example below, there shouldn't be a
> separate <text> for "#", like I get.

Yes, it's true. I have forgotten about this, sorry. Anyhow, it does not seem 
to change the approach: you can select the text node with page number 
by something like this:

   text[preceding-sibling::*[1][self::text/value='#']]

Regards,
Nikolai


-------------------
By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list