-
<static> getOptions() → {Object.<string, Object.<string, any>>}
-
Get the option of the current instance
Returns:
Dictionary of pair key-object where key are field name and object contain datatype, html and default value
-
Type
-
Object.<string, Object.<string, any>>
-
<static> getValues() → {Object.<string, any>}
-
Return values of current object
Returns:
A dictionary of key-value pair where key are field name
-
Type
-
Object.<string, any>
-
<static> load() → {XSLTProcessor}
-
Send an synchronous request to load a stylesheet
Returns:
an XSLTProcessor with the stylesheet imported
-
Type
-
XSLTProcessor
-
<static> setValue(key, value)
-
Set the value of a field
Parameters:
Name |
Type |
Description |
key |
string
|
Field whom value has to change |
value |
string
|
New value for given field |
-
<static> stylesheeting(transformDoc) → {XSLTProcessor}
-
Transform xml into an XSLTProcessor
Parameters:
Name |
Type |
Description |
transformDoc |
string
|
Document
|
The text/xml (XSL) representation of the Stylesheet |
Returns:
The XSLT Processor with loaded up stylesheet
-
Type
-
XSLTProcessor
-
-
Transform given xml through the loaded stylesheet
Parameters:
Name |
Type |
Description |
xml |
string
|
Document
|
A document to be transformed |
Returns:
A freshly transformed document
-
Type
-
Document