XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
george cSubject: table-footer depending on table content on current page
Author: george c
Date: 03 Apr 2005 09:37 AM
Hi,

I have a table where the <table-rows> are generated by a for-each loop. Each of the record have a column (e.g. Named "IsPopular") and according to the xml data file, there will be a special image placed at the row if the value is true.

And for this "SpecialItem", I need to place a footnote at the end of the Page. But that footnote should ONLY APPEAR IF THERE IS SUCH RECORD ON THE PAGE.
i.e. the footnote will not need to be shown if the current page don't have such "SpecialItem".

So, how can the table-footer know if the current page has such item? It seems I cannot simply use <xsl:variable> to store the status and check it the table footer.

Any help will be appreciated. Thanks!

George

Postnext
george cSubject: table-footer depending on table content on current page
Author: george c
Date: 03 Apr 2005 10:17 AM

Supplement:
The footer should appear only ONCE on the page even there're more than 1 "SpecialItem".

Thx.

Posttop
Tony LavinioSubject: table-footer depending on table content on current page
Author: Tony Lavinio
Date: 03 May 2005 09:01 AM
Without seeing a copy of the XSLT and XML files involved, it
is difficult to present practical help.

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.