[xsl] Change header content dynamically

Subject: [xsl] Change header content dynamically
From: Jean Fautrix <jeanfautrix@xxxxxxxxxxxx>
Date: Tue, 27 Jul 2010 06:17:23 -0700 (PDT)
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

Current Thread