Skip to content

Tag Definition: docAssign

Generated by rlextra version 3.6.13

Attributes

Name

Required?

Default_Value

Values

expr

required

None

life

implied

None

['page', 'frame', 'build', 'forever']

var

required

None

Can contain
EMPTY

Purpose

This lets you assign variables without needing to use python.

See the relevant docs here docs

Example usage

<story>
    <docAssign var="i" expr="4"/>
</story>

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> ➔ <docAssign>