Class DocumentBuilder
Class DomDestination
Class DynamicContext
Class DynamicError
Class EmptyEnumerator
Class ExtensionFunctionCall
Class NullDestination
Class ParameterDetails
Class Processor
Class QName
Class SchemaManager
Class SchemaValidator
Class Serializer
Class StandardLogger
Class StaticContext
Class StaticError
Class TextWriterDestination
Class TreeProtector
Class XPathCompiler
Class XPathExecutable
Class XPathSelector
Class XQueryCompiler
Class XQueryEvaluator
Class XQueryExecutable
Class XdmAnyFunctionType
Class XdmAnyItemType
Class XdmAnyNodeType
Class XdmAtomicType
Class XdmAtomicValue
Class XdmDestination
Class XdmEmptySequence
Class XdmFunctionItem
Class XdmItem
Class XdmItemType
Class XdmNode
Class XdmNodeKind
Class XdmSequenceType
Class XdmValue
Class XmlDestination
Class Xslt30Transformer
Class XsltCompiler
Class XsltExecutable
Class XsltPackage
Class XsltTransformer
Enum RecoveryPolicy
Enum SchemaValidationMode
Enum TreeModel
Enum WhitespacePolicy
Enum XdmAxis
Interface IMessageListener
Interface IQueryResolver
Interface IResultDocumentHandler
Interface IXdmEnumerator
Interface IXmlLocation
Interface SchemaResolver
public class XdmFunctionItem
The class XdmFunctionItem
represents an item in an XPath 3.0 sequence
that represents a function.
Note that there is no guarantee that every XdmValue
comprising a single
function item will be an instance of this class. To force this, use the Simplify
property of the XdmValue
.
At present the only way of creating an instance of this class is as the result of an XPath or XQuery expression that returns a function item. Note that this feature requires XPath 3.0 or XQuery 3.0 to be enabled, which in turn requires use of Saxon-EE.
Property Summary | |
---|---|
QName |
FunctionName The name of the function, as a QName. The result will be null if the function is anonymous. |
int |
Arity The arity of the function, that is, the number of arguments it expects |
Method Summary | |
---|---|
bool |
IsAtomic() Determine whether the item is an atomic value |
XdmValue |
invoke(Saxon.Api.XdmValue[] arguments, Processor processor) Invoke the function |
Property Detail |
---|
public QName FunctionName {get; }
The name of the function, as a QName. The result will be null if the function is anonymous.
public int Arity {get; }
The arity of the function, that is, the number of arguments it expects
Method Detail |
---|
public override bool IsAtomic()
Determine whether the item is an atomic value
public XdmValue invoke(Saxon.Api.XdmValue[] arguments, Processor processor)
Invoke the function
Parameters:arguments
-
processor
-