Back to product page

Value property


Returns Tag value.

Type

String

Syntax

  • Basic
object.Value [= value]
The Value(object,value) syntax has these parts:
objectAn expression evaluating to an object of type XMPPTag
valueA String value.

Remarks

This property returns value contained between opening and closing XML tag, if anything. For example, in following XML data, characters in red color are stored as BODY's tag data. Message tag has empty Value property because all data is parsed and placed in child XML nodes.

<message from='test@wippien.com/wodXMPP' to='test2@wippien.com' id='8786' type='chat'><body>test</body></message>

Please note that this property also holds Attributes's data, if this Tag is actually item in Attributes collection. In that case, test@wippien.com/wodXMPP, test2@wippien.com, 8786 and chat would be also values.

Platforms

Windows