GetAttributeTextLength

GetAttributeTextLength 1:

This method returns the length of the value of an XML attribute. The XML attribute is transferred to the method as input parameter.

Syntax

METHOD GetAttributeTextLength : UDINT
VAR_INPUT
  a : SXmlAttribute;
END_VAR

GetAttributeTextLength 2: Return value

Name

Type

GetAttributeTextLength

UDINT

GetAttributeTextLength 3: Inputs

Name

Type

a

SXmlAttribute

Sample call:

nLength := fbXml.GetAttributeTextLength(xmlAttr);