xml.XSLTtransformer methods

Methods for the xml.XSLTtransfomer class.

Table 1. Class methods
Name Description
xml.XSLTtransformer.CreateFromDocument(
   doc xml.DomDocument )
  RETURNS xml.XSLTtransformer
Returns a new instance of a XSLTTransformer object to be used to transform a XML document based on a given style sheet.
Table 2. Object methods
Name Description
xml.XSLTtransformer.setParameter(
   param STRING,
   value STRING )
Set parameters in an instance of an XSLTTransformer corresponding to the XSLT entries named by param.
xml.XSLTtransformer.getParameter(
   param STRING)
  RETURNS STRING
Get the value of a given parameter in an instance of an XSLTTransformer corresponding to the XSLT entry named by param.
xml.XSLTtransformer.clearParameters()
Clear all parameters in an instance of an XSLTTransformer object.
xml.XSLTtransformer.doTransform(
   doc xml.DomDocument )
  RETURNS xml.DomDocument
Transforms the input source based on the XSLT style sheet used to create the XSLTTtransformer instance and returns the transformed document.
xml.XSLTtransformer.getErrorDescription(
   index INTEGER )
  RETURNS STRING
Returns the exact description of the error referenced by the index.
xml.XSLTtransformer.getErrorsCount()
  RETURNS INTEGER
Returns the number of errors.