Click or drag to resize

XMLDocSetAction Function

X#
Set action code blocks for specific tags.

Namespace:  XSharp.XPP
Assembly:  XSharp.XPP (in XSharp.XPP.dll) Version: 2.19
Syntax
 FUNCTION XMLDocSetAction(
	nDocHandle AS INT64,
	cNode AS STRING,
	bCallback AS Codeblock
) AS LONG
Request Example View Source

Parameters

nDocHandle
Type: Int64
Numeric handle of the XML document.
cNode
Type: String
A character string defining one or more nodes in the XML document. See description below.
bCallback
Type: Codeblock
A code block to be associated with the nodes in an XML document specified with cNode.

Return Value

Type: Long
The function returns the number of tags, or nodes, matching the string cNode.
Remarks