Subject¶
Retrieves the subject of a template by its name, optionally using an XML node for data binding.
$Templates.Subject(name: string, node?: Xml):string (Xml)
Parameters¶
string name
The name of the template.
Xml node optional
The XML node to use as input for data binding. Optional. If not specified, the global $Xml instance is used.
Returns¶
The template subject as a string if found; otherwise, null.
Remarks¶
Example¶
1 2 3 | |