Saxon.Api - the SaxonCS Application Programming Interface for .NET
This namespace contains Saxon's application programming interfaces for using XSLT, XQuery, XPath and XSD on .NET.
The top-level object is the Processor; this allows creation of factory classes for using each of the different processing languages.
The classes are all found in the assembly: saxoncs.dll
.
Further background information about this API is available at https://www.saxonica.com/html/documentation12/saxon-cs/dotnetapi.html
Interface Summary |
|
---|---|
Name | Description |
IDestination |
An abstract destination for the results of a query or transformation. |
IInvalidityHandler |
Interface for reporting validation errors found during validation of an instance document against a schema. |
IProcessorInitializer |
An interface that can be implemented by the user to supply a callback for use in the -init option on the command line. |
IResource |
This interface defines a Resource, which might be an external XML file, text file, JSON file, etc. Resources might belong to a collection, or might be accessed individually by URI. |
Delegate Summary |
|
---|---|
Name | Description |
CollectionFinder |
An |
ErrorReporter |
The |
ResourceResolver |
The |
ResultDocumentHandler |
A |
SchemaResolver |
The |
XQueryResolver |
Given a module URI and a set of location hints, return a set of query modules. |
Class Summary |
|
---|---|
Name | Description |
DocumentBuilder |
The |
DomDestination |
A |
DynamicContext |
The class |
Error |
The |
ExtensionFunctionCall |
An instance of this class will be created by the compiler for each function call to
this extension function
that is found in the source code. The class is always instantiated by calling the
method |
ExtensionFunctionDefinition |
Abstract superclass for user-written extension functions. An extension function may be implemented as a subclass of this class, with appropriate implementations of the defined methods. More precisely, a subclass of |
Feature |
Feature defines a set of constants, representing the details of Saxon configuration
options which can be supplied to the Saxon method |
FeatureKeys |
|
JsonBuilder |
A JsonBuilder allows XDM values (typically maps and arrays) to be constructed by parsing JSON input |
LinqDestination |
A |
Location |
A |
Message |
A |
NamespaceConstant |
Holds a set of constants representing known namespaces. |
NodeResource |
An implementation of |
NullDestination |
A |
ParameterDetails |
Information about an external parameter to an XSLT stylesheet ( |
Predicates |
This non-instantiable class provides a number of useful implementations of the |
Processor |
The |
QName |
The |
RawDestination |
A |
ResourceRequest |
A bundle of information made available when requesting resource resolution using
a |
SaxonApiException |
The |
SchemaManager |
A |
SchemaValidator |
A |
Serializer |
A |
StaticContext |
The class |
Step |
A |
Steps |
This non-instantiable class provides a number of useful implementations of the |
TextResource |
An implementation of |
ValidationFailure |
This object represents a failure detected when validating an instance against a type defined in a schema. |
WhitespacePolicy |
|
XdmAnyArrayType |
Singleton class representing the item type |
XdmAnyFunctionType |
Singleton class representing the item type |
XdmAnyItemType |
Singleton class representing the item type |
XdmAnyMapType |
Singleton class representing the item type |
XdmAnyNodeType |
Singleton class representing the item type |
XdmArray |
The class |
XdmAtomicType |
An instance of class |
XdmAtomicValue |
The class |
XdmDestination |
An |
XdmEmptySequence |
The class |
XdmExternalObject |
An |
XdmFunctionItem |
The class |
XdmItem |
The class |
XdmItemType |
Abstract class representing an item type. This may be the generic item type |
XdmMap |
The class |
XdmNode |
The class |
XdmNodeKind |
Instances of |
XdmSequenceType |
An instance of class |
XdmValue |
A value in the XDM data model. A value is a sequence of zero or more items, each item being an atomic value, a node, or a function item. |
XmlReaderResource |
An implementation of |
XmlWriterDestination |
An |
XPathCompiler |
An |
XPathExecutable |
An |
XPathSelector |
An |
XQueryCompiler |
The |
XQueryEvaluator |
An |
XQueryExecutable |
An |
Xslt30Transformer |
An Xslt30Transformer represents a compiled and loaded stylesheet ready for execution. The Xslt30Transformer holds details of the dynamic evaluation context for the stylesheet. |
XsltCompiler |
An |
XsltExecutable |
An |
XsltPackage |
An |
XsltTransformer |
An |
Enum Summary |
|
---|---|
Name | Description |
HostLanguage |
Identifies a host language in which XPath expressions appear. Generally used when different error codes need to be returned depending on the host language. |
SchemaValidationMode |
Enumeration identifying the various Schema validation modes |
TreeModel |
Enumeration identifying the different tree model implementations |
UnprefixedElementMatchingPolicy |
An enumeration defining possible strategies for resolving unprefixed element names appearing as name tests in the steps of a path expression or XSLT match pattern |
XdmAxis |
Enumeration identifying the thirteen XPath axes |
Exception Summary |
|
---|---|
Name | Description |
SaxonApiException |
The |