13#include "SaxonProcessor.h"
70 void setcwd(
const char *cwd);
225 const char *outputfile);
237 const char *stylesheetfile);
248 const char *stylesheetfile);
289 const char *encoding =
nullptr);
322 const char *encoding =
nullptr);
392 void createException(
const char *message =
nullptr);
403 void setProperty(
const char *name,
const char *value);
406 void clearProperties();
410 int64_t importPackageValue;
413 std::map<std::string, XdmValue *>
416 std::map<std::string, std::string>
Definition SaxonApiException.h:23
Definition SaxonProcessor.h:117
Definition Xslt30Processor.h:28
XdmValue * getParameter(const char *name)
Definition Xslt30Processor.cpp:139
std::map< std::string, XdmValue * > & getParameters()
Get all parameters as a std::map.
Definition Xslt30Processor.cpp:201
bool removeParameter(const char *name)
Definition Xslt30Processor.cpp:147
bool exceptionOccurred()
Definition Xslt30Processor.cpp:115
char ** createCharArray(int len)
Definition Xslt30Processor.h:203
SaxonProcessor * getSaxonProcessor()
Get the SaxonProcessor object.
Definition Xslt30Processor.h:60
void compileFromStringAndSave(const char *stylesheet, const char *filename, const char *encoding=nullptr)
Definition Xslt30Processor.cpp:236
Xslt30Processor()
Default constructor.
Definition Xslt30Processor.cpp:21
void transformFileToFile(const char *sourcefile, const char *stylesheetfile, const char *outputfile)
Perform a one shot transformation.
Definition Xslt30Processor.cpp:491
SaxonApiException * getException()
Get the SaxonApiException object created when we have an error.
Definition Xslt30Processor.cpp:216
XsltExecutable * compileFromFile(const char *stylesheet)
compile a stylesheet file.
Definition Xslt30Processor.cpp:409
void importPackage(const char *packageFile)
Import a library package.
Definition Xslt30Processor.cpp:255
void setcwd(const char *cwd)
set the current working directory (cwd).
Definition Xslt30Processor.cpp:210
XdmValue ** createXdmValueArray(int len)
Definition Xslt30Processor.h:198
XsltExecutable * compileFromString(const char *stylesheet, const char *encoding=nullptr)
compile a stylesheet received as a string.
Definition Xslt30Processor.cpp:291
const char * transformFileToString(const char *sourcefile, const char *stylesheetfile)
Perform a one shot transformation.
Definition Xslt30Processor.cpp:536
void compileFromXdmNodeAndSave(XdmNode *node, const char *filename)
compile a stylesheet received as an XdmNode.
Definition Xslt30Processor.cpp:220
void setTargetEdition(const char *edition)
Set the target edition.
Definition Xslt30Processor.cpp:177
void setXsltLanguageVersion(const char *version)
Set the XSLT (and XPath) language level to be supported by the processor.
Definition Xslt30Processor.cpp:171
void setParameter(const char *name, XdmValue *value)
Set the value of a stylesheet parameter.
Definition Xslt30Processor.cpp:125
void clearParameters(bool deleteValues=false)
Clear parameter values set.
Definition Xslt30Processor.cpp:183
void deleteXdmValueArray(XdmValue **arr, int len)
Utility method for Python API - internal use only.
Definition Xslt30Processor.h:211
const char * getErrorMessage()
Get the first error message if there are any errors.
Definition Xslt30Processor.cpp:583
void setFastCompilation(bool fast)
Request fast compilation.
Definition Xslt30Processor.cpp:155
XdmValue * transformFileToValue(const char *sourcefile, const char *stylesheetfile)
Definition Xslt30Processor.cpp:449
void setBaseOutputURI(const char *baseURI)
Set the base output URI.
Definition Xslt30Processor.cpp:119
void setJustInTimeCompilation(bool jit)
Say whether just-in-time compilation of template rules should be used.
Definition Xslt30Processor.cpp:151
void compileFromFileAndSave(const char *xslFilename, const char *filename)
Definition Xslt30Processor.cpp:270
XsltExecutable * compileFromXdmNode(XdmNode *node)
compile a stylesheet received as an XdmNode.
Definition Xslt30Processor.cpp:334
const char * getErrorCode()
Get the first error code if there are any errors.
Definition Xslt30Processor.cpp:117
XsltExecutable * compileFromAssociatedFile(const char *sourceFile)
Get the stylesheet associated.
Definition Xslt30Processor.cpp:374
void exceptionClear()
Clear any exception thrown.
Definition Xslt30Processor.cpp:206
void setRelocatable(bool relocatable)
Indicate package deployable to a different location.
Definition Xslt30Processor.cpp:163
Definition XsltExecutable.h:29