Classes
Namespaces
Methods
-
<static> new(xslt, endpoint, options) → {CTS.xslt.XSLT}
-
Create a new XSLT transformer object
Parameters:
Name Type Description xsltstring Name of the XSLT stylesheet (Available in CTS.xslt.stylesheets) endpointstring Url of the stylesheet optionsObject.<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 namestring Name of the xslt stylesheet optionsObject.<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 typestring Type of the parameter : boolean, string htmlstring HTML representation (for plugins) : input (for type=text), checkbox, textarea, hidden defaultstring | integer | boolean | function Default value for the option Returns:
Returns the constructor for the new xslt- Type
- constructor