Remarks
Example
Smartsite SXML |
Copy Code
|
<!--// get SMTPServerAddress app setting (shortcut) -->
{site.settings.getstring("", "SMTPServerAddress")}<br />
<!--// get SMTPServerAddress app setting (normal) -->
{site.settings.getstring("/configuration/appSettings/add[@key='SMTPServerAddress']", "value")}<br />
<!--// get defaultRedirect attribute of customErrors section -->
{site.settings.getstring('/configuration/runtime/customErrors', 'defaultRedirect')}<br />
<!--// get type attribute of default channel -->
{site.settings.getstring("/configuration/runtime/channels/channel[@code='def']", 'type')}<br />
<!--// get inherit attribute of ViewContent virtual macro -->
{site.settings.getstring("/configuration/runtime/modules/add[@macro='placeholder.headsection']", "inherit")}
<!--// get sql node text of ViewContent virtual macro -->
{site.settings.getstring("/configuration/runtime/modules/add[@macro='ViewContent']/set[@parameter='sql']")}<br />
|