GetNodeTextLength

GetNodeTextLength 1:

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

Syntax

METHOD GetNodeTextLength : UDINT
VAR_INPUT
  n : SXmlNode;
END_VAR

GetNodeTextLength 2: Return value

Name

Type

GetNodeTextLength

UDINT

GetNodeTextLength 3: Inputs

Name

Type

n

SXmlNode

Sample call:

nLength := fbXml.GetNodeTextLength(xmlNode);