Main Content

Structured Data and XML Documents

Work with structured data and Extensible Markup Language documents

Read and write structured data in XML files. Develop advanced applications that create, read, write, transform, or query XML documents using the MATLAB® API for XML Processing (MAXP). To use MAXP, you need to be familiar with XML, DOM, XSLT, XPath, and the associated W3C standards.

Funktionen

alle erweitern

readstructCreate structure array from file (Seit R2020b)
writestructWrite structure array to file (Seit R2020b)
readtableCreate table from file
writetableWrite table to file
xmlreadRead XML document and return Document Object Model node
xmlwriteWrite XML Document Object Model node
xsltTransform XML document using XSLT engine

Klassen

alle erweitern

XML Document Reading and Writing

matlab.io.xml.dom.DOMWriterWriter that serializes an XML document (Seit R2021a)
matlab.io.xml.dom.EntityResolverAbstract base class for entity resolvers (Seit R2021a)
matlab.io.xml.dom.FileWriterWriter that creates a text file (Seit R2021a)
matlab.io.xml.dom.LocatorLocation of element in XML file (Seit R2021a)
matlab.io.xml.dom.ParserXML markup parser (Seit R2021a)
matlab.io.xml.dom.ParserConfigurationXML parser options (Seit R2021a)
matlab.io.xml.dom.ParseErrorSpecifies XML markup parse error (Seit R2021b)
matlab.io.xml.dom.ParseErrorHandlerAbstract base class for parse error handlers (Seit R2021b)
matlab.io.xml.dom.ParseErrorLocatorSpecifies location of parse error (Seit R2021b)
matlab.io.xml.dom.ParseErrorSeverityEnumeration class denoting XML markup parse error severity (Seit R2021b)
matlab.io.xml.dom.ResourceIdentifierXML resource identifier (Seit R2021a)
matlab.io.xml.dom.ResourceIdentifierTypeXML resource identifier type (Seit R2021a)
matlab.io.xml.dom.WriterConfigurationXML DOM writer options (Seit R2021a)

W3C DOM

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

XML Transformation

matlab.io.xml.transform.CompiledStylesheetCompiled stylesheet (Seit R2021a)
matlab.io.xml.transform.ResultDocumentStore transformation result as document (Seit R2021a)
matlab.io.xml.transform.ResultStringStore transformation result as string (Seit R2021a)
matlab.io.xml.transform.ResultFileStore transformation result as file (Seit R2021a)
matlab.io.xml.transform.SourceDocumentXML source document for transformation (Seit R2021a)
matlab.io.xml.transform.SourceFileXML source file for transformation (Seit R2021a)
matlab.io.xml.transform.SourceStringXML source string for transformation (Seit R2021a)
matlab.io.xml.transform.StylesheetSourceDocumentStylesheet source document for transformation (Seit R2021a)
matlab.io.xml.transform.StylesheetSourceFileStylesheet source file for transformation (Seit R2021a)
matlab.io.xml.transform.StylesheetSourceStringXSL source string for transformation (Seit R2021a)
matlab.io.xml.transform.TracerTrace execution of stylesheet (Seit R2022a)
matlab.io.xml.transform.TransformerXML document transformer (Seit R2021a)

XPath Queries

matlab.io.xml.xpath.CompiledExpressionCompiled XPath expression (Seit R2021a)
matlab.io.xml.xpath.EvalResultTypeResult type for XPath expression evaluation (Seit R2021a)
matlab.io.xml.xpath.EvaluatorXPath expression evaluator (Seit R2021a)
matlab.io.xml.xpath.PrefixResolverAbstract base class for namespace prefix resolvers (Seit R2021a)

Namespaces

alle erweitern

matlab.io.xml.domClasses for creating, reading, and writing XML (Seit R2021a)
matlab.io.xml.transformClasses for transforming XML documents (Seit R2021a)
matlab.io.xml.xpathClasses for evaluating XPath expressions (Seit R2021a)

Themen