Jump to content

TOC and xsl-fo


b_retera
 Share

Recommended Posts

Hi,can someone help me with this???I know there's a possibility to generate a table of contents with xsl-fo based on the attribute 'ID' within each xml tag. But what if you don't have an attribute 'ID' in your xml. Is it possible to generate dynamically ID's for each tag in the output xml-fo (generate-id() function) and then let the toc use those generated ID's?Thanks,B. Retera

Link to comment
Share on other sites

Well, I think that's what the generate-id() function actually is about. I mean, just look at it's example... The only "tricky" think is that you must apply that function where you want the IDs to be used, which in this case means some FO element (I think "basic-link" is the one).

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...