13#include "saxonc_export.h"
160 char *cwd,
char *xpathStr,
char *encoding,
186 char *cwd,
char *xpathStr,
char *encoding,
SaxonCProcessor.h provides the C API for XSLT and XQuery processing. This file contains a set of func...
SAXONC_EXPORT int64_t xdmValueAsObj(sxnc_environment *environi, const char *type, const char *str)
A Constructor for internal use.
Definition SaxonCXPath.c:3
SAXONC_EXPORT bool isAtomicValue(sxnc_environment *environi, sxnc_value value)
Determine whether the item is an atomic value or a node.
SAXONC_EXPORT int getIntegerValue(sxnc_environment *environi, sxnc_value value, int failure_value)
Get the integer value of the item.
Definition SaxonCXPath.c:315
SAXONC_EXPORT bool getBooleanValue(sxnc_environment *environi, sxnc_value value)
Get the boolean value of the item.
Definition SaxonCXPath.c:321
SAXONC_EXPORT int64_t doubleValue(sxnc_environment *environi, double d)
Create a boxed Double value.
SAXONC_EXPORT int64_t booleanValue(sxnc_environment *environi, bool val)
Create a boxed Boolean value.
SAXONC_EXPORT int64_t longValue(sxnc_environment *environi, long l)
Create a boxed Long value.
SAXONC_EXPORT int64_t floatValue(sxnc_environment *environi, float f)
Create a boxed Float value.
SAXONC_EXPORT float getFloatValue(sxnc_environment *environi, sxnc_value value, float failureVal)
Get the float value of the item.
Definition SaxonCXPath.c:332
SAXONC_EXPORT int64_t getJavaStringValue(sxnc_environment *environi, const char *str)
Create a boxed String value.
SAXONC_EXPORT long getLongValue(sxnc_environment *environi, sxnc_value value, long failureVal)
Get the long value of the item.
Definition SaxonCXPath.c:326
SAXONC_EXPORT int c_createXPathProcessor(sxnc_environment *environi, sxnc_processor *processor, sxnc_xpath *xpath)
Initialise the Saxon Processor and XPath processor.
Definition SaxonCXPath.c:61
SAXONC_EXPORT sxnc_value * evaluate(sxnc_environment *environi, sxnc_xpath *proc, char *cwd, char *xpathStr, char *encoding, sxnc_parameter *parameters, sxnc_property *properties, int parLen, int propLen)
Compile and evaluate an XPath expression, supplied as a character string, with properties and paramet...
Definition SaxonCXPath.c:82
SAXONC_EXPORT sxnc_value * evaluateSingle(sxnc_environment *environi, sxnc_xpath *proc, char *cwd, char *xpathStr, char *encoding, sxnc_parameter *parameters, sxnc_property *properties, int parLen, int propLen)
Compile and evaluate an XPath expression for which the result is expected to be a single XdmItem or N...
Definition SaxonCXPath.c:128
SAXONC_EXPORT int size(sxnc_environment *environi, sxnc_value val)
Get the number of items in the sequence.
Definition SaxonCXPath.c:228
SAXONC_EXPORT const char * getStringValue(sxnc_environment *environi, sxnc_value value)
Get the string value of the item.
Definition SaxonCXPath.c:223
SAXONC_EXPORT double getDoubleValue(sxnc_environment *environi, sxnc_value value, double failureVal)
Get the double value of the item.
Definition SaxonCXPath.c:338
SAXONC_EXPORT bool effectiveBooleanValue(sxnc_environment *environi, sxnc_xpath *proc, char *cwd, char *xpathStr, char *encoding, sxnc_parameter *parameters, sxnc_property *properties, int parLen, int propLen)
Evaluate an XPath expression, returning the effective boolean value of the result.
Definition SaxonCXPath.c:176
SAXONC_EXPORT int64_t integerValue(sxnc_environment *environi, int i)
Create a boxed Integer value.
SAXONC_EXPORT sxnc_value * xdmValue(sxnc_environment *environi, const char *type, const char *str)
A Constructor.
Definition SaxonCXPath.c:31
sxnc_environment.
Definition SaxonCGlue.h:80
sxnc_parameter.
Definition SaxonCGlue.h:92
! sxnc_processor.
Definition SaxonCGlue.h:121
sxnc_property.
Definition SaxonCGlue.h:105
! sxnc_value.
Definition SaxonCGlue.h:114
sxnc_xpath.
Definition SaxonCProcessor.h:40