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 CenterMATLAB Answers에서 Structured 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