xsl-list
[Top] [All Lists]

[xsl] Change header content dynamically

2010-07-27 08:17:42
Hi, 

We are using XML and XSLT to create reports (Through Altova StyleVision 2008 - 
and we are quite new to all that). 
We have the ordinary header and footer (for all of the reports), but 
the column names need also to be located in the header, so that it 
appears on every new page. 

But a few of these reports change the content of its columns so we 
need to change all the columns names accordingly to fit the new content. 

Header ---------------company name 
-------------------------------------------------------------- [page1] 
Header ---------------column names (for first set of 
data)----------------------------------- [page1] 
Table with content 
Footer 
--------------------------------------------------------------------------- 
-------------------------- 
[page1] 
Header ---------------company name 
-------------------------------------------------------------- [page2] 
Header ---------------column names (for first set of 
data)----------------------------------- [page2] 
Table with content 
Footer 
--------------------------------------------------------------------------- 
-------------------------- 
[page2] 
Header ---------------company name 
-------------------------------------------------------------- [page3] 
Header ---------------column names (for first set of 
data)----------------------------------- [page3] 
Table with content 
Footer 
--------------------------------------------------------------------------- 
-------------------------- 
[page3] 
Header ---------------company name 
-------------------------------------------------------------- [page4] 
Header ---------------column names (for second set of data - How to 
change??)-- [page4] 
Table with content 
Footer 
--------------------------------------------------------------------------- 
-------------------------- 
[page4] 

According to the content of the table I would like to be able to 
change the content which appears on the header. How can I use some 
conditional instruction to do that? 

Regards



      

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>