Tag Definition: evalString
Generated by rlextra version 3.6.13
Attributes
Name |
Required? |
Default_Value |
Values |
default |
implied |
None |
|
imports |
implied |
None |
|
Can contain |
Purpose
This lets you provide information like relative page numbers by evaluating a string as an expression.
Check out our docs page on this.
Example usage
<story>
<namedString id="LASTPAGENO"><pageNumber/></namedString>
<para>
The last page is <getName id="LASTPAGENO" default="-999"/>
One less than that is
<evalString default="XXXX"><getName id="LASTPAGENO" default="-999"/> - 1</evalString>
</para>
</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.