Changeset 598 for trunk/src/editxml.m
- Timestamp:
- Apr 2, 2013, 9:13:42 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/editxml.m
r595 r598 345 345 xs=xmltree(schemafile); 346 346 else 347 msgbox_uvmat('WARNING','The xml schema is not found, check the file PARAM.xml')348 [FileName, PathName]=uigetfile( ...349 {'*.xsd', '(*.xsd)';350 '*.xsd', '.xsd files '; ...351 '*.*', 'All Files (*.*)'}, ...352 'Pick a .xsd schema' ,schemafile); %file browser353 if ischar(PathName) && ischar(FileName) && exist(fullfile(PathName,FileName),'file')354 DataIn.Schema=fullfile(PathName,FileName);355 xs=xmltree(DataIn.Schema);%open the associated schema file356 else347 % msgbox_uvmat('WARNING','The xml schema is not found, check the file PARAM.xml') 348 % [FileName, PathName]=uigetfile( ... 349 % {'*.xsd', '(*.xsd)'; 350 % '*.xsd', '.xsd files '; ... 351 % '*.*', 'All Files (*.*)'}, ... 352 % 'Pick a .xsd schema' ,schemafile); %file browser 353 % if ischar(PathName) && ischar(FileName) && exist(fullfile(PathName,FileName),'file') 354 % DataIn.Schema=fullfile(PathName,FileName); 355 % xs=xmltree(DataIn.Schema);%open the associated schema file 356 % else 357 357 xs=[]; 358 end 358 % 359 359 360 end 360 361 % end
Note: See TracChangeset
for help on using the changeset viewer.