Main Content

このページの翻訳は最新ではありません。ここをクリックして、英語の最新版を参照してください。

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

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

関数 readstruct および writestruct を使用して、XML ファイルに対する構造化データの読み取りと書き込みを容易に行います。

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

関数

すべて展開する

readstructファイルからの構造体の作成
writestructファイルへの構造体の書き込み
xmlreadXML ドキュメントを読み取って、ドキュメント オブジェクト モデル ノードを返す
xmlwriteXML ドキュメント オブジェクト モデル ノードを書き込む
xsltXSLT エンジンを使って XML ドキュメントを変換

クラス

すべて展開する

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

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.LocatorXML ファイル内の要素の位置
matlab.io.xml.dom.ParserXML マークアップ パーサー
matlab.io.xml.dom.ParserConfigurationXML parser options
matlab.io.xml.dom.ParseErrorSpecifies XML markup parse error
matlab.io.xml.dom.ParseErrorHandlerAbstract base class for parse error handlers
matlab.io.xml.dom.ParseErrorLocatorSpecifies location of parse error
matlab.io.xml.dom.ParseErrorSeverityEnumeration class denoting XML markup parse error severity
matlab.io.xml.dom.ResourceIdentifierXML resource identifier
matlab.io.xml.dom.ResourceIdentifierTypeXML リソース識別子タイプ
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.DocumentConfigurationSpecify XML document normalization options
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.NodeListドキュメント ノードのリスト
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

XML 変換

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

XPath クエリ

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

パッケージ

すべて展開する

matlab.io.xml.domXML の作成、読み取り、および書き込みを行うためのクラス
matlab.io.xml.transformClasses for transforming XML documents
matlab.io.xml.xpathXPath 式を評価するためのクラス

トピック