GetAttributeTextLength

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
Return value
Name | Type |
---|---|
GetAttributeTextLength | UDINT |
Inputs
Name | Type |
---|---|
a | SXmlAttribute |
Sample call:
nLength := fbXml.GetAttributeTextLength(xmlAttr);