Returns information from a config file

Syntax

Smartsite SXML CopyCode image Copy Code
xml site.config.getsection(string configFileLocation, string path)

Parameters

Name Data Type Description
configFileLocation String The location of the config file.
path String XPath location of the desired information in the config file. Use the prefix c: for the .NetConfiguration namespace.

Return Value

Data Type Description
XML The string value located at the given XPath location

Expand image Examples

SXML