|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Change header content dynamically
At 2010-07-27 06:17 -0700, Jean Fautrix wrote:
We are using XML and XSLT to create reports (Through Altova StyleVision 2008 - and we are quite new to all that). Fine. According to the content of the table I would like to be able to change the content which appears on the header. Just start a new table with a new <table-header> set of column heads. The <table-header> element is repeated after every page-break. Note if you had this problem with page columns instead of table columns you would use <marker> and <retrieve-marker>. Also, if you really needed the table headings to be in the page header instead of a table header, you can also use <marker> and <retrieve-marker>, but since you are explicitly talking about the "content of the table", it would seem best to access this with <table-header>. How can I use some conditional instruction to do that? The "conditional processing" in XSL-FO is based on contingencies, not on explicit tests of any kind. When you say "conditional processing" that implies to me you are asking about XSLT, and XSLT knows nothing of page breaks that naturally occur in the processing of XSL-FO. I hope this helps. . . . . . . . . . Ken
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








