Create XML file and AnimalParser class. Print the name, breed of all cats to the console using any of the previously considered parsers
Створити XML файл та клас AnimalParser. Вивести в консоль name, breed всіх котів використовуючи будь-який з парсерів, що розглядалися раніше.
Приклад XML файлу:
<animal>
<cat>
<name>Marsel</ name >
<age>7</age>
<breed>Sphynx</breed>
<weight>6</weight>
</cat>
<cat >
<name>Myrzik</ name >
<age>5</age>
<breed>Oriental</breed>
<weight>4</weight>
</cat>
</animal>