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 XsltTransformer 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.