XML Parse-n-Find

バージョン 1.0.0.0 (3.69 KB) 作成者: Sam Warner
XML parser and tag finder
ダウンロード: 889
更新 2012/11/6

ライセンスの表示

Class Definition:

xmlelem - Handle class with dynamic property to hold an XML element data

Functions:

xmlparse - Parse xml file to xmlelem class object tree
xmlfind - Wraps handle.findobj to traverse xmlelem tree

Example:
% Parse XML file to XMLELEM tree
T = xmlparse(fullfile(matlabroot,'toolbox','matlab','general','info.xml'))

% Flatten the tree
F = xmlfind(T)

% Find XML element text with 'matlab'
elem = xmlfind(T,'Name','#text','Value','matlab')

引用

Sam Warner (2024). XML Parse-n-Find (https://www.mathworks.com/matlabcentral/fileexchange/38930-xml-parse-n-find), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2012b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersStructured Data and XML Documents についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0