SK_XmlNodeSetValueDouble Function

Sets a node to a given double floating point value.

Remarks

Important Note

When using this function in an application which uses vfork on POSIX-compatible platforms other than Windows and OS X, you should consider using the SK_FLAGS_STRING_CULTURE_USE_CURRENT flag to avoid unexpected behavior.

Syntax

C/C++
SK_ResultCode SK_XmlNodeSetValueDouble(int flags, SK_XmlDoc xml, const char *xpath, double value);
Visual Basic
Declare Function SK_XmlNodeSetValueDouble(ByVal flags As Long, ByVal xml As Long, ByVal xpath As String, ByVal value As Long) As Long

Arguments

flags
Any flags passed into this function-call.
xml
The SK_XmlDoc handle.
xpath
XPath specifying the location of the node in the XML document. See the License File Schema topic for examples.
value
The node's new, double (floating-point) value.

Returns

All possible return values are included in the SK_ResultCode enumeration. Return codes to expect include:

Result Code Description
SK_ResultCode.SK_ERROR_NONE No error.
SK_ResultCode.SK_ERROR_INVALID_ARGUMENTS Some or all of the arguments are invalid.