Read xml sentinel 2

I am trying myself reading xml sentinel 2 using matlab. Is it possible? I cant read the what is inside the xml file of sentinel 2 and to read of each bands. Anyone have experience? Thank you

Source code :
clear all
clc
hdf_name = ‘F:\Sentinel\MTD_MSIL1C.xml’
xDoc = xmlread(hdf_name);
figure,imshow(hdf_name,[]);
colormap(gca,‘jet’);
colorbar;

Error :
Error using images.internal.imageDisplayParsePVPairs (line 71)
The parameter, F:\Citra\Sentinel
data\S2A\1.S2A_OPER_PRD_MSIL1C\2018\20180104\S2A_MSIL1C_20180104T025931_N0206_R089_T49MEN_20180104T042036\S2A_MSIL1C_20180104T025931_N0206_R089_T49MEN_20180104T042036.SAFE\MTD_MSIL1C.xml,
is not recognized by imageDisplayParsePVPairs

Error in images.internal.imageDisplayParseInputs (line 69)
[common_args,specific_args] = images.internal.imageDisplayParsePVPairs(varargin{:});

Error in imshow (line 241)
images.internal.imageDisplayParseInputs({‘Parent’,‘Border’,‘Reduce’},preparsed_varargin{:});

Error in baca (line 5)
figure,imshow(hdf_name,[]);

I think it is better to ask this in the Matlab community.
https://www.mathworks.com/matlabcentral/
But from the code I see, the problem is pretty obvious. You try to render an XML file as an image, and this is something that MATLAB can’t do. Anyway, if you want to use MATLAB, I think you get better support there.