Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 18/03/26 in Posts

  1. @arturmaliew Your XML structure is broken because some <group> tags are closed in the wrong place. That is why the file cannot be opened,not necessarily because the file is missing, but because the XML is invalid. You accidentally closed the main group too early and then opened another group at the wrong level. Try this fixed version: <catalog type="vehicle"> <group name="Машины"> <group name="Ваз"> <vehicle id="560" name="2107" /> </group> <group name="Иномарки"> <vehicle id="415" name="Nissan GT-R" /> </group> <group name="Дпс"> <vehicle id="597" name="Приора ДПС" /> <vehicle id="427" name="Уаз Полиция" /> </group> </group> <group name="Motorbikes"> <vehicle id="481" name="BMX" /> <vehicle id="581" name="BF-400" /> <vehicle id="462" name="Скутер" /> <vehicle id="463" name="Freeway" /> <vehicle id="523" name="HPV1000" /> <vehicle id="461" name="PCJ-600" /> <vehicle id="586" name="Wayfarer" /> <vehicle id="471" name="Quadbike" /> </group> </catalog> Also make sure the file is saved as UTF-8 and that the resource is loading the correct path to vehicles.xml
    1 point
×
×
  • Create New...