Main Content

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

構造化データと XML ドキュメント

構造化データと拡張マークアップ言語のドキュメントの操作

XML ファイルの構造化データの読み取りと書き込みを行います。MATLAB® API for XML Processing (MAXP) を使用して、XML ドキュメントの作成、読み取り、書き込み、変換およびクエリを行う高度なアプリケーションを開発します。MAXP を使用するには、XML、DOM、XSLT、XPath、および関連する W3C 標準の知識が必要です。

関数

すべて展開する

readstructファイルから構造体配列を作成する (R2020b 以降)
writestruct構造体配列をファイルに書き込む (R2020b 以降)
readtableファイルからのテーブルの作成
writetableファイルへの table の書き込み
xmlreadXML ドキュメントを読み取って、ドキュメント オブジェクト モデル ノードを返す
xmlwriteXML ドキュメント オブジェクト モデル ノードを書き込む
xsltXSLT エンジンを使って XML ドキュメントを変換

クラス

すべて展開する

XML ドキュメントの読み取りおよび書き込み

matlab.io.xml.dom.DOMWriterWriter that serializes an XML document (R2021a 以降)
matlab.io.xml.dom.EntityResolverAbstract base class for entity resolvers (R2021a 以降)
matlab.io.xml.dom.FileWriterWriter that creates a text file (R2021a 以降)
matlab.io.xml.dom.LocatorXML ファイル内の要素の位置 (R2021a 以降)
matlab.io.xml.dom.ParserXML マークアップ パーサー (R2021a 以降)
matlab.io.xml.dom.ParserConfigurationXML parser options (R2021a 以降)
matlab.io.xml.dom.ParseErrorSpecifies XML markup parse error (R2021b 以降)
matlab.io.xml.dom.ParseErrorHandlerAbstract base class for parse error handlers (R2021b 以降)
matlab.io.xml.dom.ParseErrorLocatorSpecifies location of parse error (R2021b 以降)
matlab.io.xml.dom.ParseErrorSeverityEnumeration class denoting XML markup parse error severity (R2021b 以降)
matlab.io.xml.dom.ResourceIdentifierXML resource identifier (R2021a 以降)
matlab.io.xml.dom.ResourceIdentifierTypeXML リソース識別子タイプ (R2021a 以降)
matlab.io.xml.dom.WriterConfigurationXML DOM writer options (R2021a 以降)

W3C DOM

matlab.io.xml.dom.AttrAttribute of XML element (R2021a 以降)
matlab.io.xml.dom.CDATASectionCDATA section (R2021a 以降)
matlab.io.xml.dom.CommentComment in XML document (R2021a 以降)
matlab.io.xml.dom.DocumentXML Document (R2021a 以降)
matlab.io.xml.dom.DocumentConfigurationSpecify XML document normalization options (R2022a 以降)
matlab.io.xml.dom.DocumentFragmentGroup of document nodes (R2021a 以降)
matlab.io.xml.dom.DocumentTypeDocument type (R2021a 以降)
matlab.io.xml.dom.ElementElement of XML document (R2021a 以降)
matlab.io.xml.dom.EntityEntity defined by document type (R2021a 以降)
matlab.io.xml.dom.NamedNodeMapSet of document nodes with names (R2021a 以降)
matlab.io.xml.dom.NodeListドキュメント ノードのリスト (R2021a 以降)
matlab.io.xml.dom.NotationNotation in document type definition (R2021a 以降)
matlab.io.xml.dom.ProcessingInstructionXML processing instruction (R2021a 以降)
matlab.io.xml.dom.TextText in an XML document (R2021a 以降)
matlab.io.xml.dom.TypeInfoSchema type information (R2021a 以降)

XML 変換

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

XPath クエリ

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

名前空間

すべて展開する

matlab.io.xml.domXML の作成、読み取り、および書き込みを行うためのクラス (R2021a 以降)
matlab.io.xml.transformXML ドキュメントを変換するクラス (R2021a 以降)
matlab.io.xml.xpathXPath 式を評価するためのクラス (R2021a 以降)

トピック