[Overview][Classes][Procedures and functions][Index] Reference for unit 'Laz2_XMLCfg' (#lazutils)

TXMLConfig.GetExtendedValue

Gets the value for a DOM node at the specified path as an extended data type.

Declaration

Source position: laz2_xmlcfg.pas line 116

public function TXMLConfig.GetExtendedValue(

  const APath: string;

  const ADefault: extended

):extended;

Arguments

APath

  

Path to the DOM node examined in the method.

ADefault

  

Default value used when the DOM node has no content.

Function result

Extended value for the specified DOM node.

Description

GetExtendedValue is an Extended function used to get the value for a DOM node at the specified path as an Extended data type. GetExtendedValue is similar to the TXMLConfig.GetValue method; in fact it calls GetValue to retrieve the value for the DOM node in APath. It calls StrToExtended to convert the node value to the Extended data type used as the return value.

Use ADefault to specify the default value used in the method when the DOM node does not contain any content (or value).

See also

TXMLConfig.GetValue

  

Gets the value from the DOM node at the specified path in the XML configuration file.


Version 4.0 Generated 2025-05-03 Home