このページの翻訳は最新ではありません。ここをクリックして、英語の最新版を参照してください。
構造化データと XML ドキュメント
関数 readstruct
および writestruct
を使用して、XML ファイルに対する構造化データの読み取りと書き込みを容易に行います。
MATLAB® API for XML Processing (MAXP) を使用して、XML ドキュメントの作成、読み取り、書き込み、変換およびクエリを行う高度なアプリケーションを開発します。MAXP を使用するには、XML、DOM、XSLT、XPath、および関連する W3C 標準の知識が必要です。
関数
構造化データの読み取りと書き込み
readstruct | ファイルからの構造体の作成 |
writestruct | ファイルへの構造体の書き込み |
クラス
MATLAB API for XML Processing
XML ドキュメントの読み取りおよび書き込み
matlab.io.xml.dom.DOMWriter | Writer that serializes an XML document |
matlab.io.xml.dom.EntityResolver | Abstract base class for entity resolvers |
matlab.io.xml.dom.FileWriter | Writer that creates a text file |
matlab.io.xml.dom.Locator | XML ファイル内の要素の位置 |
matlab.io.xml.dom.Parser | XML マークアップ パーサー |
matlab.io.xml.dom.ParserConfiguration | XML parser options |
matlab.io.xml.dom.ParseError | Specifies XML markup parse error |
matlab.io.xml.dom.ParseErrorHandler | Abstract base class for parse error handlers |
matlab.io.xml.dom.ParseErrorLocator | Specifies location of parse error |
matlab.io.xml.dom.ParseErrorSeverity | Enumeration class denoting XML markup parse error severity |
matlab.io.xml.dom.ResourceIdentifier | XML resource identifier |
matlab.io.xml.dom.ResourceIdentifierType | XML リソース識別子タイプ |
matlab.io.xml.dom.WriterConfiguration | XML DOM writer options |
W3C DOM
matlab.io.xml.dom.Attr | Attribute of XML element |
matlab.io.xml.dom.CDATASection | CDATA section |
matlab.io.xml.dom.Comment | Comment in XML document |
matlab.io.xml.dom.Document | XML Document |
matlab.io.xml.dom.DocumentConfiguration | Specify XML document normalization options |
matlab.io.xml.dom.DocumentFragment | Group of document nodes |
matlab.io.xml.dom.DocumentType | Document type |
matlab.io.xml.dom.Element | Element of XML document |
matlab.io.xml.dom.Entity | Entity defined by document type |
matlab.io.xml.dom.NamedNodeMap | Set of document nodes with names |
matlab.io.xml.dom.NodeList | ドキュメント ノードのリスト |
matlab.io.xml.dom.Notation | Notation in document type definition |
matlab.io.xml.dom.ProcessingInstruction | XML processing instruction |
matlab.io.xml.dom.Text | Text in an XML document |
matlab.io.xml.dom.TypeInfo | Schema type information |
XML 変換
matlab.io.xml.transform.CompiledStylesheet | Compiled stylesheet |
matlab.io.xml.transform.ResultDocument | Store transformation result as document |
matlab.io.xml.transform.ResultString | Store transformation result as string |
matlab.io.xml.transform.ResultFile | Store transformation result as file |
matlab.io.xml.transform.SourceDocument | XML source document for transformation |
matlab.io.xml.transform.SourceFile | XML source file for transformation |
matlab.io.xml.transform.SourceString | XML source string for transformation |
matlab.io.xml.transform.StylesheetSourceDocument | Stylesheet source document for transformation |
matlab.io.xml.transform.StylesheetSourceFile | Stylesheet source file for transformation |
matlab.io.xml.transform.StylesheetSourceString | XSL source string for transformation |
matlab.io.xml.transform.Tracer | Trace execution of stylesheet |
matlab.io.xml.transform.Transformer | XML document transformer |
XPath クエリ
matlab.io.xml.xpath.CompiledExpression | Compiled XPath expression |
matlab.io.xml.xpath.EvalResultType | Result type for XPath expression evaluation |
matlab.io.xml.xpath.Evaluator | XPath expression evaluator |
matlab.io.xml.xpath.PrefixResolver | Abstract base class for namespace prefix resolvers |
パッケージ
MATLAB API for XML Processing
matlab.io.xml.dom | XML の作成、読み取り、および書き込みを行うためのクラス |
matlab.io.xml.transform | Classes for transforming XML documents |
matlab.io.xml.xpath | XPath 式を評価するためのクラス |
トピック
- XML ファイルのドキュメント オブジェクト モデルへのインポート
matlab.io.xml.dom.Parser
またはxmlread
を使用して、XML ファイルを DOM ドキュメント ノードに読み取る。 - ドキュメント オブジェクト モデルの XML ファイルへのエクスポート
matlab.io.xml.dom.DOMWriter
またはxmlwrite
を使用して、DOM ドキュメント ノードを XML ファイルに書き込む。
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)