Main Content

matlab.io.xml.dom.Locator Class

Namespace: matlab.io.xml.dom

Location of element in XML file

Since R2021a

Description

An object of the matlab.io.xml.dom.Locator class specifies the location of an element in an XML file.

The matlab.io.xml.dom.Locator class is a handle class.

Class Attributes

ConstructOnLoad
true
HandleCompatible
true

For information on class attributes, see Class Attributes.

Properties

expand all

Public ID of the file that contains the element, specified as a string scalar.

Attributes:

GetAccess
public
SetAccess
private
GetObservable
true
SetObservable
true

System ID of the file that contains the element, specified as a string scalar.

Attributes:

GetAccess
public
SetAccess
private
GetObservable
true
SetObservable
true

Line number of the element in the file, specified as a double.

Attributes:

GetAccess
public
SetAccess
private
GetObservable
true
SetObservable
true

Column number of the element in the file, specified as a double.

Attributes:

GetAccess
public
SetAccess
private
GetObservable
true
SetObservable
true

Version History

Introduced in R2021a