[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Problem while displaying TOC in XSL-FO

Subject: Problem while displaying TOC in XSL-FO
From: Kavita Surana <kavitass2@xxxxxxxxxxx>
Date: Thu, 29 Nov 2007 09:35:31 +0000 (GMT)
 Problem while displaying TOC in XSL-FO
Hi All,

In my document few sections and sub-sections will get
displayed based on some condition so while displaying
Table of Contents my requirement is to display the
heading of the section/sub-section in TOC only if it
is present in the document.. For instance if 

Section1 has 2 subsections
->sub-section1
->sub-section2

and if the criteria which displays these two
subsections is not satisfied then these two will not
be present in the document. So in this case while
displaying TOC I should not display Section heading as
well as subsection heading.

I was trying to do that by assigning id to each
fo:block which actually holds contents and calling
id() function in TOC to check if there is any node
present with this id in the document, but it doesn't
work at all.

If anybody has any idea , please respond to this post.

Thanks.
Kavita.



      Chat on a cool, new interface. No download required. Go to http://in.messenger.yahoo.com/webmessengerpromo.php

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.