⚲
Project
Profile
Help
Tour this page
Frequent Planio Questions
Learning Resources
Sign in
Register
Switch Planio account
Open in Planio App
Share current page
Search
:
Projects
All Projects
Help
Tour this page
Frequent Planio Questions
Learning Resources
Sign in
Register
Switch Planio account
Open in Planio App
Share current page
Saxon
Overview
Roadmap
Issues
Calendar
Blog
Documents
Forums
Files
Repository
Download (864 Bytes)
RE: StaticContext.Processor in SaxonCS ExtensionFunctionC...
» Example1Function.cs
Martin Honnen
, 2022-08-16 09:07
using
Saxon.Api
;
namespace
SaxonCSExtensionStaticContextTestLib
{
public
class
Example1Function
:
ExtensionFunctionDefinition
{
public
override
QName
FunctionName
=>
new
QName
(
"http://example.com/mf"
,
"parse-xml"
);
public
override
int
MinimumNumberOfArguments
=>
1
;
public
override
int
MaximumNumberOfArguments
=>
1
;
public
override
XdmSequenceType
[]
ArgumentTypes
=>
new
XdmSequenceType
[]
{
new
XdmSequenceType
(
XdmAtomicType
.
BuiltInAtomicType
(
QName
.
XS_STRING
),
XdmSequenceType
.
ONE
)
};
public
override
ExtensionFunctionCall
MakeFunctionCall
()
{
return
new
Example1FunctionCall
();
}
public
override
XdmSequenceType
ResultType
(
XdmSequenceType
[]
ArgumentTypes
)
{
return
new
XdmSequenceType
(
XdmAnyNodeType
.
Instance
,
XdmSequenceType
.
ONE
);
}
}
}
« Previous
1
2
Next »
(1-1/2)
Loading...