Skip to content

Tag Definition: bulkData

Generated by rlextra version 4.3.0a1

Attributes

Name

Required?

Default_Value

Values

fieldDelim

implied

None

recordDelim

implied

None

stripBlock

implied

None

['yes', 'no']

stripFields

implied

None

['yes', 'no']

stripLines

implied

None

['yes', 'no']

Can contain
(#PCDATA)

Purpose

This lets you get quite a lot of text or numeric data into a table quicker and less memory consuming. You specify a delimiter for fields (default is comma) and for records (default is newline), and rml2pdf will break this up.

Example usage

<blockTable>
   <bulkData fieldDelim=",">
       <![CDATA[
            Name,Profit
            Twister,26
            Icecream,34
            Snacks,217
            Coffee,23
            Total,277
        ]]>
   </bulkData>
</blockTable>

Note: Only relevant sections are used in this snippet. Some tags were not included. See some of our samples for further insight of how you may go about setting up a full document using rml.

Example of nesting path from the parent tags to the current tag

<document> ➔ <story> ➔ <blockTable> ➔ <bulkData>