Tag Definition: xmlData
Generated by rlextra version 4.3.0a1
Attributes
Name |
Required? |
Default_Value |
Values |
fileName |
implied |
None |
|
name |
required |
None |
|
url |
implied |
None |
|
Can contain |
Purpose
This lets you load up some xml data from a file for later use in the document. This uses the dynamic rml dtd. See the relevant rml sample here.
Example usage
<!DOCTYPE document SYSTEM "../dynamic_rml.dtd">
<document filename='test_020_dynamic.pdf'>
<!-- this needs to be driven by the preprocessor...-->
<acquire>
<xmlData name="data" fileName="../test_020_sampledata.xml"/>
</acquire>
...
<story>
<para><expr>data.invoice.customerDetails.customerName</expr></para>
</story>
</document>
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.