Main Content

matlab.io.xml.dom Package

Classes for creating, reading, and writing XML

Description

The matlab.io.xml.dom package consists of classes for creating, reading, and writing XML files and strings following the W3C DOM standard.

Classes

XML Document Reading and Writing

matlab.io.xml.dom.DOMWriterWriter that serializes an XML document
matlab.io.xml.dom.EntityResolverAbstract base class for entity resolvers
matlab.io.xml.dom.FileWriterWriter that creates a text file
matlab.io.xml.dom.LocatorLocation of element in XML file
matlab.io.xml.dom.ParserXML markup parser
matlab.io.xml.dom.ParserConfigurationXML parser options
matlab.io.xml.dom.ResourceIdentifierXML resource identifier
matlab.io.xml.dom.ResourceIdentifierTypeXML resource identifier type
matlab.io.xml.dom.WriterConfigurationXML DOM writer options

W3C DOM

matlab.io.xml.dom.AttrAttribute of XML element
matlab.io.xml.dom.CDATASectionCDATA section
matlab.io.xml.dom.CommentComment in XML document
matlab.io.xml.dom.DocumentXML Document
matlab.io.xml.dom.DocumentFragmentGroup of document nodes
matlab.io.xml.dom.DocumentTypeDocument type
matlab.io.xml.dom.ElementElement of XML document
matlab.io.xml.dom.EntityEntity defined by document type
matlab.io.xml.dom.NamedNodeMapSet of document nodes with names
matlab.io.xml.dom.NodeListList of document nodes
matlab.io.xml.dom.NotationNotation in document type definition
matlab.io.xml.dom.ProcessingInstructionXML processing instruction
matlab.io.xml.dom.TextText in an XML document
matlab.io.xml.dom.TypeInfoSchema type information
Introduced in R2021a