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

IsValidXmlEncoding

Determines if the specified value is a valid XML encoding name.

Declaration

Source position: laz2_xmlutils.pas line 37

function IsValidXmlEncoding(

  const Value: TXMLUtilString

):Boolean;

Arguments

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'?>

Version 4.0 Generated 2025-05-03 Home