Monday, 2 July 2018

Horizontal-break-table xml publisher

Horizontal-break-table xml publisher

 
Horizontal break table is uses in the xml publisher reports when we have dynamic columns in the xml reports and these columns are too large in counts so these will not fit or complete in the one page and it would continue to the next page so with the help of this Horizontal-break-table syntax we can control that , which columns of the report output will be continue to the next page of the report output.
 
Here below I am sharing the example. 
 
Defines the first column as a header that should repeat
if the table breaks across pages. 1 in the tag refers the number of columns of the header that should repeat.
 
 <?xml version="1.0" encoding="utf-8"?>
 <TestScoreTable>
  <TestScores>
    <TestCategory>Mathematics</TestCategory>
    <TestScore width ="15">
    <TestScoreRange>0-20</TestScoreRange>
    <NumofStudents>30</NumofStudents>
 </TestScore>
    <TestScore width ="20">
    <TestScoreRange>21-40</TestScoreRange>
    <NumofStudents>45</NumofStudents>
 </TestScore>
   <TestScore width ="15">
    <TestScoreRange>41-60</TestScoreRange>
    <NumofStudents>50</NumofStudents>
 </TestScore>
    <TestScore width ="20">
    <TestScoreRange>61-80</TestScoreRange>
    <NumofStudents>102</NumofStudents>
 </TestScore>
    <TestScore width ="15">
    <TestScoreRange>81-100</TestScoreRange>
   <NumofStudents>22</NumofStudents>
 </TestScore>
 </TestScores>
  <TestScoreTable>
 
Horizontal-break-table xml publisher
 
The "horizontal-break-table" tag could then be used to specify how many columns to repeat on the subsequent page. For example, a value of "1" would repeat the column "Test Score" on the subsequent page, with the continuation of the columns that did not fit on the first page.
 
 
Horizontal-break-table xml publisher

0 comments:

Post a Comment

Contact us for any Collaboration, Project Support & On Job Support Work

Name

Email *

Message *