i just trying to read a text file without some texts, as a example the XML file which I should read looks like this,
<?xml version="1.0"?>
<ProfileModel xmlns:xsi="test" xmlns:xsd="http://test">
<Repositories>
<BaseSettingsModel xsi:type="Server">
<Name>test server</Name>
<IsActive>false</IsActive>
<IsHidden>false</IsHidden>
<ServerRepository>https://test.com:4443/</ServerRepository>
</BaseSettingsModel>
<BaseSettingsModel xsi:type="FileSystem">
<Name>Test AAA</Name>
<IsActive>false</IsActive>
<IsHidden>false</IsHidden>
<FilesRepository>D:\Office\Templates</FilesRepository>
<FormFilesRepository>D:\Office\Forms</FormFilesRepository>
</BaseSettingsModel>
</Repositories>
<KeyValues />
<OutputMessageType>All</OutputMessageType>
</ProfileModel>
So I just wanted to know how to read this kind of file without this xsi:type="Server" so if anyone could answer, it will be really helpful.