Class XSLTProcessor
Object
|
+--XSLTProcessor
- class
XSLTProcessor
Defined in sarissa.js
Constructor Summary |
XSLTProcessor
()
Basic implementation of Mozilla's XSLTProcessor for IE.
|
Method Summary |
Object
|
getParameter(nsURI, name)
Gets a parameter if previously set by setParameter.
|
void
|
importStylesheet(xslDoc)
Impoprts the given XSLT DOM and compiles it to a reusable transform
|
void
|
setParameter(nsURI, name, value)
Set global XSLT parameter of the imported stylesheet
|
Object
|
transformToDocument(sourceDoc)
Transform the given XML DOM
|
processor
Object processor
template
Object template
XSLTProcessor
XSLTProcessor()
Basic implementation of Mozilla's XSLTProcessor for IE.
Reuses the same XSLT stylesheet for multiple transforms
getParameter
Object getParameter(nsURI, name)
Gets a parameter if previously set by setParameter. Returns null
otherwise
Parameters:
name
- The parameter base name
value
- The new parameter value
Returns:
The parameter value if reviously set by setParameter, null otherwise
importStylesheet
void importStylesheet(xslDoc)
Impoprts the given XSLT DOM and compiles it to a reusable transform
Parameters:
xslDoc
- The XSLT DOMDocument to import
setParameter
void setParameter(nsURI, name, value)
Set global XSLT parameter of the imported stylesheet
Parameters:
nsURI
- The parameter namespace URI
name
- The parameter base name
value
- The new parameter value
transformToDocument
Object transformToDocument(sourceDoc)
Transform the given XML DOM
Parameters:
sourceDoc
- The XML DOMDocument to transform
Returns:
The transformation result as a DOM Document
Documentation generated by
JSDoc on Tue May 9 22:30:39 2006