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.
No exception is raised in case of error. It is recommended to check if errors have been encountered loading the style sheet by using the xml.XsltTransformer.getErrorsCount and xml.XsltTransformer.getErrorDescription methods.
To see these methods in a working example, see Example: Using xml.XsltTransformer methods.