13#include "saxonc_export.h"
14#include "saxonc/SaxonProcessor.h"
15#include "saxonc/XsdSchema.h"
73 void setcwd(
const char *cwd);
82 const char * getcwd();
98 void useSchema(
XsdSchema * schema,
const char * role =
"");
116 void setSchemaAware(
bool schemaAware);
118 bool isSchemaAware();
129 void setBaseOutputURI(
const char *baseURI);
148 void setJustInTimeCompilation(
bool jit);
157 bool getJustInTimeCompilation();
164 void setTargetEdition(
const char *edition);
174 void setXsltLanguageVersion(
const char *
version);
192 void setFastCompilation(
bool fast);
201 void setRelocatable(
bool relocatable);
230 bool removeParameter(
const char *name);
239 std::map<std::string, XdmValue *> &getParameters();
248 void clearParameters(
bool deleteValues =
false);
275 void transformFileToFile(
const char *sourcefile,
const char *stylesheetfile,
276 const char *outputfile);
289 const char *transformFileToString(
const char *sourcefile,
290 const char *stylesheetfile);
301 XdmValue *transformFileToValue(
const char *sourcefile,
302 const char *stylesheetfile);
313 void importPackage(
const char *packageFile);
346 const char *encoding =
nullptr);
361 XsltExecutable *compileFromAssociatedFile(
const char *sourceFile);
371 void compileFromStringAndSave(
const char *stylesheet,
const char *filename,
372 const char *encoding =
nullptr);
381 void compileFromFileAndSave(
const char *xslFilename,
const char *filename);
390 void compileFromXdmNodeAndSave(
XdmNode *node,
const char *filename);
418 void setProperty(
const char *name,
const char *value);
424 std::map<std::string, std::string> &getProperties();
429 void clearProperties();
433 int64_t cppXT, procRef;
434 int64_t importPackageValue, schemaRef;
437 std::map<std::string, XdmValue *>
440 std::map<std::string, std::string>
SAXONC_EXPORT void setParameter(sxnc_parameter **parameters, int *parLen, int *parCap, const char *name, sxnc_value *value)
Set a parameter.
Definition SaxonCGlue.c:202
SAXONC_EXPORT int64_t getParameter(sxnc_parameter *parameters, int parLen, const char *name)
Get a parameter from the list.
Definition SaxonCGlue.c:178
SAXONC_EXPORT void setProperty(sxnc_property **properties, int *propLen, int *propCap, const char *name, const char *value)
Set a property.
Definition SaxonCGlue.c:228
EXTERN_SAXONC SAXONC_EXPORT const char * version(sxnc_environment *environi, sxnc_processor *proc)
Get the Saxon version.
Definition SaxonCProcessor.c:6
SaxonApiException.
Definition SaxonApiException.h:25
The SaxonProcessor class acts as a factory for generating XQuery, XPath, Schema and XSLT compilers.
Definition SaxonProcessor.h:137
The class XdmItem represents an item in a sequence, as defined by the XDM data model.
Definition XdmItem.h:31
This class represents a node in the XDM data model.
Definition XdmNode.h:57
An XdmValue represents a value in the XDM data model.
Definition XdmValue.h:33
Definition XsdSchema.h:26
An Xslt30Processor represents a factory to compile, load and execute stylesheets.
Definition Xslt30Processor.h:31
char ** createCharArray(int len)
Utility method for working with SaxonC on Python - internal use only.
Definition Xslt30Processor.h:254
void deleteXdmValueArray(XdmValue **arr, int len)
Utility method for Python API - internal use only.
Definition Xslt30Processor.h:262
An XsltExecutable represents the compiled form of a stylesheet.
Definition XsltExecutable.h:33