Changeset 180 for trunk/src/editxml.m


Ignore:
Timestamp:
Jan 18, 2011, 10:50:40 PM (13 years ago)
Author:
sommeria
Message:

rationalisation of uvmat, introduction of the new function read_field, links with get_field, several bug repairs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/editxml.m

    r153 r180  
    330330    head_name=get(t,1,'name');
    331331    %Path to shemas:
    332     path_uvmat=which('editxml');% check the path detected for source file uvmat
    333     path_UVMAT=fileparts(path_uvmat); %path to UVMAT
    334     xmlparam=fullfile(path_UVMAT,'PARAM.xml');
     332%     path_uvmat=which('editxml');% check the path detected for source file uvmat
     333%     path_UVMAT=fileparts(path_uvmat); %path to UVMAT
     334%     xmlparam=fullfile(path_UVMAT,'PARAM.xml');
     335    xmlparam='PARAM.xml'; %will find PARAM.xml whose path is set in priority
    335336    if exist(xmlparam,'file')
    336337        tparam=xmltree(xmlparam);
     
    350351            '*.xsd',  '.xsd files '; ...
    351352            '*.*',  'All Files (*.*)'}, ...
    352             'Pick a .xsd schema' ,schemapath); %file browser
     353            'Pick a .xsd schema' ,schemafile); %file browser
    353354            if ischar(PathName) && ischar(FileName) && exist(fullfile(PathName,FileName),'file')
    354355                DataIn.Schema=fullfile(PathName,FileName);
Note: See TracChangeset for help on using the changeset viewer.