Main Content

La traduzione di questa pagina non è aggiornata. Fai clic qui per vedere l'ultima versione in inglese.

Dati strutturati e documenti XML

Lavorare con dati strutturati e documenti con linguaggio di marcatura estendibile

Leggere e scrivere facilmente dati strutturati in un file XML utilizzando le funzioni readstruct e writestruct.

Sviluppare applicazioni avanzate per creare, leggere, scrivere, trasformare o interrogare documenti XML utilizzando l’API di MATLAB® per l’elaborazione XML (MAXP). Per utilizzare MAXP, è necessario conoscere XML, DOM, XSLT, XPath e gli standard W3C associati.

Funzioni

espandi tutto

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

Classi

espandi tutto

Lettura e scrittura di documenti XML

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

W3C DOM

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

Trasformazione XML

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

Interrogazioni XPath

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

Namespaces

espandi tutto

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

Argomenti