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
|
Object
|
transformToFragment(sourceDoc, ownerDocument)
Not sure if this works in IE.
|
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
transformToFragment
Object transformToFragment(sourceDoc, ownerDocument)
Not sure if this works in IE. Maybe this will allow non-well-formed
transformation results (i.e. with no single root element)
Parameters:
sourceDoc - The XML DOMDocument to transform
Returns:
The transformation result as a DOM Fragment
Documentation generated by
JSDoc on Sat Jun 18 18:52:11 2005