I need a form with the format like below.
Page1:
Header with first XML Node <Header>
Table1
Table2
Page2 --- If Table content flows to the next page
Same Page 1 Header
Table (Cont...)
Page2 --- If Table content didn't flow to the next page
Header with second XML Node <Header>
Table1 under second XML Node <Header>
Table2 under second XML Node <Header>
XML Format:
<?xml version="1.0" encoding="UTF-8"?>
<Output>
<Header>
<Data1>1</Data1>
<Data2/>
<Datan/>
<Table1>
<Item></Item>
</Table1>
<Table2>
<Item></Item>
</Table2>
</Header>
<Header>
<Data1>2</Data1>
<Data2/>
<Datan/>
<Table1>
<Item></Item>
</Table1>
<Table2>
<Item></Item>
</Table2>
</Header>
</Output>

With the current setup if the table content flows to the next page the same header is not coming. If anyone knows how to achieve this, please let me know