List of XSL parameters to be passed to the XSLT processor
Usually these will be set by the application class which inherits DomDoc. The transform methods of this class should use this associative array to add these parameters to the processor. WARNING: RELYING ON THIS METHOD OF SETTING XSL PARAMS WILL MAKE YOUR STYLSHEET INCOMPATIBLE WITH CLIENT-SIDE TRANSFORMATION. IMPORTANT NOTE: YOUR PARAMS WILL NOT BE AVAILABLE IN YOUR STYLSHEET IF YOU DO NOT DECLARE THEM (WITH EMPTY VALUES). THE PROCESSOR WILL ONLY FEED PARAM VALUES TO THE STYLESHEET BY OVERRIDING THE VALUES OF EXISTING ONES.
API Tags:
Root element of source document object
API Tags:
Root element of source document object
API Tags:
DOM XML object instance of the source document
This has to be specified in the constructor. The Transformer class will not work without this object and a DOM XML instnace of the stylsheet. The constructor may need to ensure this object eventuates by parsing in external XML data - same applies for the stylesheet.
API Tags:
DOM XML object instance of stylsheet used in transformation
This has to be specified in the constructor. The Transformer class will not work without this object and a DOM XML instnace of the source doc. The constructor may need to ensure this object eventuates by parsing in external XML data - same applies for the source doc.
API Tags:
Which XSLT processor to use
This option allows the user to choose which implemented XSLT processor to employ. At this stage, possible choices are:
- SABLOTRON which uses the xslt_ functions built into PHP.
- DOMXML which uses the experimental transformation capabilities of the
native PHP domxml extension itself.
Future implementations could use external procesors which may be Java, Com, or command-line executables. API Tags:
XSLT processing result container
Regardless of which XSLT processor is used, the result is always stored in this variable AS A STRING.
API Tags: