![]() Variable is always referred by $ in XSL (xsl:if xdofo:ctx='inblock' test='$no_of_lines_per_page=count($inner_group)')(xsl:attribute name='break-before')page(/xsl:attribute) (/xsl:if) Note: Replace symbol '(' with ' in all above xml/xsl syntax. ![]() Here we are inserting page-break if value of variable no_of_lines_per_page is equal to total records in loop inner_group. (xsl:attribute name='space-before')100pt(/xsl:attribute) (xsl:attribute name='space-after')100pt(/xsl:attribute) Inserting pagebreak 1) Below is the simple syntax to add pagebreak (?split-by-page-break:?) 2) We can also use below syntax for before and after (xsl:attribute name='break-before')page(/xsl:attribute) (xsl:attribute name='break-after')page(/xsl:attribute) 3) Conditional pagebreak, use below syntax. As point increases, space also get increased. Insert definite space in RTF template Use below syntax in Tag to insert space before or after in your template. It is important to have just just one page-break> defined. Page-break> can be specified explicitly in the template. ![]() It might be possible that multiple occurrences of 'Split-by-page-break' exist for single desired page break. Please ensure that only one page break command is used in the template.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |