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 .

Endpoint
Name:XRL
Description:XML Recursive Linker reads and processes XRL language commands within an XML template
Id:XRL2Runtime
Category:accessor
Identifier Syntax

XRL is an accessor using Active URI syntax with the following base identifiers:

Base
active:xrl2

and the following arguments: (for more details on argument passing details see here)

ArgumentRulesTypingDescription
template
Mandatory
Representation (DOM)XML template document
mimetype
Optional
Defaults to "application/xml"
IdentifierMIME type of response
tolerant
Optional
Representation (java.lang.Void)enable tolerance of errors (value of argument not important, just it's existence)
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 following response representations can be returned for SOURCE requests:

SOURCE Representations
DOM

This accessor throws no documented exceptions.

Import Requirements

To use XRL accessor you must import the module urn:org:netkernel:lang:xrl:

<import>
  <uri>urn:org:netkernel:lang:xrl</uri>
</import>

SOURCE

When a request with the SOURCE verb is issued to active:xrl2 the XML template specified in the required template argument examined for any XRL language commands, which are processed recursively.

template

An XML document containing XRL processing instructions.

mimetype

Override the default mimetype of the response.

tolerant

If a tolerant argument is specified it's value is ignored. If it is specified then the XRL runtime will not fail if an error occurs processing any of the processing instructions contained in the template but rather will log exceptions as warnings.