Tag Definition: namedString
Generated by rlextra version 4.3.0a1
Attributes
Name |
Required? |
Default_Value |
Values |
default |
implied |
None |
|
discard |
implied |
None |
['yes', 'no', '0', '1', 'none'] |
id |
required |
None |
|
indexName |
implied |
None |
|
new |
implied |
None |
['yes', 'no', '0', '1', 'none'] |
type |
none |
string |
|
Can contain |
Purpose
This lets you associates a name to a string of text.
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.