18#if !defined(XALAN_XPATHCAPI_HEADER_GUARD_1357924680)
19#define XALAN_XPATHCAPI_HEADER_GUARD_1357924680
25#if defined(XALAN_BUILD_DLL)
27#define XALAN_XPATHCAPI_EXPORT __declspec(dllexport)
28#define XALAN_XPATHCAPI_EXPORT_FUNCTION(T) T __declspec(dllexport)
32#define XALAN_XPATHCAPI_EXPORT __declspec(dllimport)
33#define XALAN_XPATHCAPI_EXPORT_FUNCTION(T) T __declspec(dllimport)
39#define XALAN_XPATHCAPI_EXPORT
40#define XALAN_XPATHCAPI_EXPORT_FUNCTION(T) T
52#if defined(__cplusplus)
57#define XALAN_XPATH_API_SUCCESS 0
58#define XALAN_XPATH_API_ERROR_ALREADY_INITIALIZED 1
59#define XALAN_XPATH_API_ERROR_ALREADY_TERMINATED 2
60#define XALAN_XPATH_API_ERROR_INITIALIZATION_FAILED 3
61#define XALAN_XPATH_API_ERROR_TERMINATION_FAILED 4
62#define XALAN_XPATH_API_ERROR_NOT_INITIALIZED 5
63#define XALAN_XPATH_API_ERROR_CANNOT_REINITIALIZE 6
64#define XALAN_XPATH_API_ERROR_INVALID_PARAMETER 7
65#define XALAN_XPATH_API_ERROR_INVALID_EXPRESSION 8
66#define XALAN_XPATH_API_ERROR_BAD_XML 9
67#define XALAN_XPATH_API_ERROR_UNSUPPORTED_ENCODING 10
68#define XALAN_XPATH_API_ERROR_TRANSCODING 11
69#define XALAN_XPATH_API_ERROR_INVALID_XPATH 12
70#define XALAN_XPATH_API_ERROR_UNKNOWN 13
85#pragma export(XalanXPathAPIInitialize)
86#pragma export(XalanXPathAPITerminate)
87#pragma export(XalanCreateXPathEvaluator)
88#pragma export(XalanDestroyXPathEvaluator)
89#pragma export(XalanCreateXPath)
90#pragma export(XalanDestroyXPath)
91#pragma export(XalanEvaluateXPathAsBoolean)
92#pragma export(XalanEvaluateXPathExpressionAsBoolean)
149 const
char* theXPathExpression,
150 const
char* theXPathExpressionEncoding,
194 const
char* theXPathExpression,
195 const
char* theXPathExpressionEncoding,
199#if defined(__cplusplus)
XalanCreateXPathEvaluator(XalanXPathEvaluatorHandle *theHandle)
Create a XalanXPathEvaluator instance.
XalanXPathAPITerminate()
Terminate Xerces and the XPath API.
void * XalanXPathHandle
Handle used to store the address of compiled XPath instance.
XalanXPathAPIInitialize()
Initialize Xerces and the XPath API.
XalanDestroyXPath(XalanXPathEvaluatorHandle theXalanHandle, XalanXPathHandle theXPathHandle)
Destroys a compiled XPath instance.
XalanDestroyXPathEvaluator(XalanXPathEvaluatorHandle theXalanHandle)
Destroy a XalanXPathEvaluator instance.
XalanEvaluateXPathExpressionAsBoolean(XalanXPathEvaluatorHandle theXalanHandle, const char *theXPathExpression, const char *theXPathExpressionEncoding, const char *theXML, int *theResult)
Evaluates an XPath expression.
void * XalanXPathEvaluatorHandle
Handle used to store the address of XalanTransformer instance.
XalanEvaluateXPathAsBoolean(XalanXPathEvaluatorHandle theXalanHandle, XalanXPathHandle theXPathHandle, const char *theXML, int *theResult)
Evaluates a compiled XPath instance.
#define XALAN_XPATHCAPI_EXPORT_FUNCTION(T)
XalanCreateXPath(XalanXPathEvaluatorHandle theXalanHandle, const char *theXPathExpression, const char *theXPathExpressionEncoding, XalanXPathHandle *theXPathHandle)
Creates a compiled XPath instance.