Namespace: xslt

CTS. xslt

Classes

XSLT

Namespaces

stylesheets

Methods

<static> new(xslt, endpoint, options) → {CTS.xslt.XSLT}

Create a new XSLT transformer object
Parameters:
Name Type Description
xslt string Name of the XSLT stylesheet (Available in CTS.xslt.stylesheets)
endpoint string Url of the stylesheet
options Object.<string, any> Any options to reuse inside
Returns:
A CTS.XSLT intance with given options
Type
CTS.xslt.XSLT

<static> register(name, options, options[fieldname]) → {constructor}

Register a XSLT stylesheets available in CTS.xslt.new
Parameters:
Name Type Description
name string Name of the xslt stylesheet
options Object.<string, object> Options in Instance.options (For transformations). Keys are parameters of the XSLT stylesheet
options[fieldname] Object.<string, Any> Informations about the transformation parameter
Properties
Name Type Description
type string Type of the parameter : boolean, string
html string HTML representation (for plugins) : input (for type=text), checkbox, textarea, hidden
default string | integer | boolean | function Default value for the option
Returns:
Returns the constructor for the new xslt
Type
constructor