matlab.io.xml.transform.SourceDocument Class
Namespace: matlab.io.xml.transform
Description
Use an object of the matlab.io.xml.transform.SourceDocument
class to
specify a matlab.io.xml.dom.Document
object as the source XML markup for a transformation.
You can provide a SourceDocument
object as an input to the transform
or
transformToString
method of a matlab.io.xml.transform.Transformer
object.
The matlab.io.xml.transform.SourceDocument
class is a handle
class.
Class Attributes
ConstructOnLoad | true |
HandleCompatible | true |
For information on class attributes, see Class Attributes.
Creation
Description
sourceObj = matlab.io.xml.transform.SourceDocument(doc)
creates a matlab.io.xml.transform.SourceFile
object with the Document
property set to the specified matlab.io.xml.dom.Document
object.
Properties
Methods
Examples
Version History
Introduced in R2021a