%  getRoot - get the root node of an xml-object and its name   
%   
%  CALL:   
%   [rootname root] = getRoot(obj)   
%   
%  INPUT:   
%   obj: <xml-object>   
%   
%  OUTPUT:   
%   rootname: <string> the name of the root node   
%   root:     <java object> org.apache.xerces.dom.DeferredElementNSImpl or   
%                           org.apache.xerces.dom.DeferredElementImpl   
%   
%  EXAMPLE:   
%   %create an xml from a sourcefile   
%   obj = xml(fullfile(pwd,'examples','books.xml'))   
%   [rootname root] = getRoot(obj)   
%   
%  See also: xml, xml/noNodes   
   
   
% © Modelit 2006-2020   
% Matlab release: 2020a   
% Date: 2020/10/13 15:10:37   
% Revision: 1.08   
