-
salvora-application
Salvora Application Mapping Description. It takes file mappings (http requests over system files) and transformations (initially xslt chains).
-
collection
-
A file based mapping to describe files and file based http requests. It also takes the option to serve folder file list files.
-
collection-atts
-
@ name
-
@ base-path [required]
Folder base path for file access.
-
@ base-internal-path [required]
Base Internal base path.
-
@ path
Individual path for file access.
-
@ internal-path
Internal Path, related to the path.
-
@ file-list [optional]
Describes if a file list should be returned when requesting the folder path. Defaults to false.
-
@ write-allowed [optional]
Describes if POST and PUT operations (write opperations) are allowed.
-
-
description-info
-
Element: trigger
-
-
step
-
transformation-step
-
transformation-step-attributes
-
@ name
-
@ source [required]
-
@ type [required] :
Values xslt | xquery | string
-
-
transformation-step-elements
-
path-parameter
-
request-parameter
-
transformation-parameter
-
-
-
-
-
-
Shared Elements
-
path-parameter
-
path-parameter
Parameter element, used to map request internal-path path parts to xslt parameters.
-
@ key
-
@ xslt-param-name
-
@ default
Default Value
-
@ value
In some cases we need to specify a value template that will be modified with the user provided parameter value. At this point the current parameter name, preceded with ":", will be modified with the provided value in the call.
For example, a parameter defined as /somepath/:desiredfile.html could be taken in the desiredfile path parameter and used to adjust a value template like data/:desiredfile.xml.
This is useful when you want to use a file as input port for some predefined xproc or xslt.
-
@ input-port (false)
Indicates if the param should be treated as an input port (on XProc scripts). Defaults to false.
-
-
-
request-parameter
-
request-parameter
-
@ key
-
@ xslt-param-name
-
@ default
Default Value
-
@ value
In some cases we need to specify a value template that will be modified with the user provided parameter value. At this point the current parameter name will be modified with the provided value in the call.
For example, a "desiredfile" query parameter could be used to adjust a value template like data/:desiredfile.xml.
This is useful when you want to use a file as input port for some predefined xproc or xslt.
-
@ input-port (false)
Indicates if the param should be treated as an input port (on XProc scripts). Defaults to false.
-
-
parameter
A explicit parameter with name and value. The value is a plain string. It is not interpreted.
-
@ name
-
@ value
-
@ input-port (false)
Indicates if the param should be treated as an input port (on XProc scripts). Defaults to false.
-
-
trigger
A explicit parameter with name and value. The value is a plain string. It is not interpreted.
-
@ name
-
@ source: The xproc iii file path
-
@ before[boolean]: Indicates if the process should be performed before or after the main request.
-
-
-
Jump to content