Thanks Jeremias
I'd been looking at these examples for 0.92 beta before, but they don't help me
with the automatic id-generation.
In a first test, I've created a bookmark-tree, and assigned the same ID to one
of the blocks
(...)
</fo:layout-master-set>
<!-- bookmark section -->
<fo:bookmark-tree>
<fo:bookmark internal-destination="1st Element">
<fo:bookmark-title>Hello_Bookmark</fo:bookmark-title>
</fo:bookmark>
</fo:bookmark-tree>
<fo:page-sequence master-reference="page-content">
(...)
<xsl:template match="Element">
<fo:block id="1st Element">
<xsl:apply-templates/>
</fo:block>
</xsl:template>
(...)
This worked fine.
But I now would like to automate this process for variably many elements. The
elements are read from a XML-file. As I understand, I can automatically create
ID's for the elements with the generate-id() method. But it is not clear to me,
how I can reference those ID's in advance in my bookmark tree. I can call all
elements with a <for-each select="Element">, but how do I know then, what ID's
they will later be given? Or is it the other way round, do I give the id's in
the bookmarks-tree and retrieve them later? I'm afraid this is a stupid
question, but I hope someone has the patience to help me out, maybe with some
sample code. Many thanks :)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]