Tag Definition: script_b
Generated by rlextra version 3.6.13
Attributes
Name |
Required? |
Default_Value |
Values |
Can contain |
Purpose
This lets you run python-style script within rml. Each use represents one line of code. 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'>
...
<story>
<script_b>x = 3</script_b>
<script_b>y = x + 2</script_b>
<script_b>z = "Variable" + str(y)</script_b>
<para><expr>z</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.