WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

Name:xml.saxon.XQUERY
Description:
Id:xml.saxon.XQUERY
Category:accessor

Identifier Syntax

xml.saxon.XQUERY is an accessor using Active URI syntax with the following base identifiers:

Base
active:xquery
and the following arguments: (for more details on argument passing details see here)
ArgumentRulesTypingDescription
operator
Mandatory
Representation (java.lang.Object)XQuery program
typemap
Optional
Representation (java.lang.Object)typemap declaration
varargs [varargs] Any quantityRepresentation (java.lang.Object)Varargs allows an arbitrary number of additional unspecified arguments.

Request Verbs

The following verb is supported:

Verb
SOURCE

Response

The response representation of this accessor for SOURCE requests is unknown. This accessor throws no documented exceptions.

Import Requirements

To use xml.saxon.XQUERY accessor you must import the module urn:org:netkernel:xml:saxon:

<import>
  <uri>urn:org:netkernel:xml:saxon</uri>
</import>

The active:xquery service is an XQuery language runtime.

SOURCE

Returns a net.sf.saxon.s9api.XdmNode which is transreptable to org.w3c.dom.Document.

typemap argument

An optional typemap argument may be specified in order to ensure arguments are coerced (transrepted) to a given type before being received by the xquery script.