- xmlSource
- The XML input to transform.
- outputTarget
- The Result of transforming the xmlSource.
Type Reason Javax.Xml.Transform.TransformerException If an unrecoverable error occurs during the course of the transformation.
Transform the XML Source to a Result. Specific transformation behavior is determined by the settings of the TransformerFactory in effect when the Transformer was instantiated and any modifications made to the Transformer instance.
An empty Source is represented as an empty document as constructed by Javax.Xml.Parsers.DocumentBuilder.NewDocument. The result of transforming an empty Source depends on the transformation behavior; it is not always an empty Result.