title: BIRT - different master page header on the first page of report
body: <p>I need to have one <strong>master page  header</strong> on the first page and another <strong>master page header</strong> on the next pages of BIRT report.
  I am using 3.7.1 version.</p>
  
  <ol>
  <li>I inserted a grid with two rows to the master page header.</li>
  <li><p>I put one new grid into each of the rows.
  First nested grid for the first page header, second nested grid for the next pages header.</p></li>
  <li><p>I set an onRender scripts:</p>
  
  <pre><code>//first nested grid
  if( pageNumber &gt; 1 ){
  this.getStyle().display = "none";
  }
  //second nested grid
  if( pageNumber == 1 ){
  this.getStyle().display = "none";
  }else{
  this.getStyle().display = "block";
  }
  </code></pre></li>
  </ol>
  
  <p>This works ok with the sample database, from JDBC Data Source.
  But I need XML Data Source and with that it does not work at all.
  It seems as if with the sample database table, the onRender event gets called on every page, but with my XML Data Source it only gets called once. </p>
  
  <p>Please, If you could help me solve this mysterious problem I would appreciated it very much.</p>
  
  <p>erisa</p>