IsValidXmlEncoding function
Determines if the specified value is a valid XML encoding name.
Declaration
function IsValidXmlEncoding(const Value: TXMLUtilString): BooleanArguments
Value | Value examined for a valid encoding identifier. |
Function result
True the value satisfied the Name production in the XML specification.
Description
IsValidXmlEncoding is a Boolean function used to determine if the value specified in Value is a valid XML encoding name. The encoding name is used in the XML declaration for a document. For instance:
<?xml encoding='UTF-8'?>
or:
<?xml encoding='EUC-JP'?>
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
