Changeset 42 for trunk/src/editxml.m
- Timestamp:
- Mar 10, 2010, 7:43:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/editxml.m
r2 r42 311 311 head_element=get(t,1); 312 312 if ~isfield(head_element,'name') | ~isfield(head_element,'attributes') 313 warndlg_uvmat('root element of the .xml file not in correct format','ERROR')313 msgbox_uvmat('ERROR','root element of the .xml file not in correct format') 314 314 end 315 315 head_name=head_element.name; … … 356 356 xs=xmltree(schemapath); 357 357 else 358 warndlg_uvmat(['The xml schema for ' CurrentFile ' is unknown, check the schema path set in the xml file PARAM'],'ERROR')358 msgbox_uvmat('ERROR',['The xml schema for ' CurrentFile ' is unknown, check the schema path set in the xml file PARAM']) 359 359 [FileName, PathName]=uigetfile( ... 360 360 {'*.xsd', '(*.xsd)'; … … 1021 1021 [path,fil,ext]=fileparts(cur_file); 1022 1022 if ~exist(cur_file,'file') 1023 warndlg_uvmat(['non-existent link file' cur_file],'ERROR') % A FAIRE: propose to updtate the .xml file1023 msgbox_uvmat('ERROR',['non-existent link file' cur_file]) % A FAIRE: propose to updtate the .xml file 1024 1024 return 1025 1025 elseif isequal(ext,'.xml') … … 1230 1230 Value=get(hhdataview.ListXml,'Value'); 1231 1231 if isequal(Value,1) 1232 warndlg_uvmat('you need to select the xml files to edit','ERROR')1232 msgbox_uvmat('ERROR','you need to select the xml files to edit') 1233 1233 return 1234 1234 end … … 1257 1257 [success,message]=copyfile(xmlfullname,backupfile);%make backup 1258 1258 if ~isequal(success,1) 1259 warndlg_uvmat(['Error in the backup of ' xmlfullname],'ERROR')1259 msgbox_uvmat('ERROR',['Error in the backup of ' xmlfullname]) 1260 1260 return 1261 1261 end
Note: See TracChangeset
for help on using the changeset viewer.