xml.XsltTransformer.CreateFromDocument
Returns a new instance of a XSLTTransformer object to be used to transform a XML document based on a given style sheet.
Syntax
xml.XsltTransformer.CreateFromDocument(
doc xml.DomDocument )
RETURNS xml.XsltTransformer
- doc defines the given style sheet.
Usage
Returns a new instance of an XSLTTransformer
object to be used to transform a
XML document based on the given style sheet.
There may be non-critical errors when loading a given style sheet document; you can check with
the xml.XSLTtransfomer.getErrorsCount()
method.
In case of error, the method throws an exception and sets the
STATUS
variable. Depending on the error, a human-readable description of the
problem is available in the SQLCA.SQLERRM
register. See Error handling in GWS calls (STATUS).
To see these methods in a working example, see Example: Using xml.XSLTtransformer methods.