Javax.Xml.Transform.Transformer.Transform Method

Syntax

[Android.Runtime.Register("transform", "(Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V", "GetTransform_Ljavax_xml_transform_Source_Ljavax_xml_transform_Result_Handler")]
public abstract void Transform (ISource xmlSource, IResult outputTarget)

Parameters

xmlSource
The XML input to transform.
outputTarget
The Result of transforming the xmlSource.

Exceptions

TypeReason
Javax.Xml.Transform.TransformerExceptionIf an unrecoverable error occurs during the course of the transformation.

Remarks

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.

[Android Documentation]

Requirements

Namespace: Javax.Xml.Transform
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8