XMLDocOpenString Function (String, Usual) | |
Create XML document from a string.
Namespace:
XSharp.XPP
Assembly:
XSharp.XPP (in XSharp.XPP.dll) Version: 2.19
Syntax FUNCTION XMLDocOpenString(
cXMLString AS STRING,
nErrHandle OUT USUAL
) AS INT64
public static long XMLDocOpenString(
string cXMLString,
out Usual nErrHandle
)
Request Example
View SourceParameters
- cXMLString
- Type: String
Character string representing a valid XML document. - nErrHandle
- Type: Usual
Pass a variable by reference which receives an error handle if errors were recorded.
Return Value
Type:
Int64Returns a non-zero handle for the passed string or 0 if there are not enough system resources for the parser,
or when the string does not contain valid XML code. The handle returned by this function must be used in subsequent
calls to other XMLDoc..() functions.
If the function returns 0, more information can be obtained by calling XMLDocGetErrorList(,
nErrHandle ).
Remarks Invokes the XML parser engine which parsed the passed string and builds the internal tree structure.
See Also