|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--Transformation
Defined in xslt.js
Version: $Id: xslt.js,v 1.7 2008/08/29 21:22:55 Johann Exp $
Author: Johann Burkard
| Constructor Summary | |
Transformation()
Constructor for client-side XSLT transformations. |
|
| Method Summary | |
Object
|
getCallback()
Returns the callback function. |
String
|
getXml()
Returns the URL of the XML document. |
Object
|
getXmlDocument()
Returns the XML document. |
String
|
getXslt()
Returns the URL of the XSLT document. |
Object
|
getXsltDocument()
Returns the XSLT document. |
Transformation
|
setCallback(c)
Sets the callback function |
Transformation
|
setXml(x)
Sets the URL of the XML document. |
Transformation
|
setXslt(x)
Sets the URL of the XSLT document. |
void
|
transform(target)
Sets the target element to write the transformed content to and asynchronously starts the transformation process. |
| Constructor Detail |
Transformation()
| Method Detail |
Object getCallback()
String getXml()
Object getXmlDocument()
String getXslt()
Object getXsltDocument()
Transformation setCallback(c)
c - the callback function
Transformation setXml(x)
x - the URL of the XML document
Transformation setXslt(x)
x - the URL of the XML document
void transform(target)
target is the ID of an element. 2DO
This method may only be called after setXml() and setXslt() have been called.
Note that the target element must exist once this method is called. Calling
this method before onload was fired will most likely
not work.
target - the ID of an element
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||