Function Reference
Get
Gets the value of a given key for this stage.
Syntax:
wwstageinfo:Get($param_key)Parameters:
Name | Type | Description |
|---|---|---|
param_key | string | The key to lookup. |
Returns:
string: The value as string.Example:
<xsl:variable name="VarLastDocID" select="wwstageinfo:Get('CurrentDocumentID')" />GetLogMessage
Gets a formatted log message that summarizes the current state of the StageInfo object. The heading is customizable via an optional modifier. For example, if modifier is "Previous", the heading will be "Previous StageInfo state:". The message includes each entry formatted as "{key} = "{value}"", sorted by key. Heading and all key/value pairs emit on the same line.
Syntax:
wwstageinfo:GetLogMessage($modifier)Parameters:
Name | Type | Description |
|---|---|---|
modifier | string | An optional string modifier to customize the heading. If omitted or empty, the default heading "Current StageInfo state:" is used. |
Returns:
string: A string representing the log message for the StageInfo object.Set
Set key/value pair for this stage.
Syntax:
wwstageinfo:Set($param_key, $param_value)Parameters:
Name | Type | Description |
|---|---|---|
param_key | string | The key to set. |
param_value | string | The value to set. |
Example:
<xsl:variable name="VarSetPosition" select="wwstageinfo:Set('CurrentDocumentID', $VarDocID)" />Last modified date: 01/12/2026