So ganz verstanden habe ich das noch nicht.
Da du das aber sagst, muss es so sein.
Ich habe versucht die Datei jetzt abzuändern und Ihr den Frachtraum zu geben. Klappt aber nicht wirklich. Hier der Code:
Code: Select all
<?xml version="1.0"?>
<diff>
<add sel='/components/component/connections'>
<connection ref="connection_storage02"tags="storage ">
<offset/>
</connection>
</add>
</diff>
Das spuckt das Log aus:
[General] ======================================
[=ERROR=] LIBXML2: file:///extensions%2Fbradley_mod%2Fassets%2Funits%2Fsize_xl%2F%2Funits_size_xl_capital_destroyer_1?ext=pck%20xml line 4, error 65: attributes construct error
[General] ======================================
[General] ======================================
[=ERROR=] LIBXML2: file:///extensions%2Fbradley_mod%2Fassets%2Funits%2Fsize_xl%2F%2Funits_size_xl_capital_destroyer_1?ext=pck%20xml line 4, error 73: Couldn't find end of Start Tag connection line 4
connection
[General] ======================================
[General] ======================================
[=ERROR=] LIBXML2: file:///extensions%2Fbradley_mod%2Fassets%2Funits%2Fsize_xl%2F%2Funits_size_xl_capital_destroyer_1?ext=pck%20xml line 6, error 76: Opening and ending tag mismatch: add line 3 and connection
addconnection
[General] ======================================
[General] ======================================
[=ERROR=] LIBXML2: file:///extensions%2Fbradley_mod%2Fassets%2Funits%2Fsize_xl%2F%2Funits_size_xl_capital_destroyer_1?ext=pck%20xml line 7, error 76: Opening and ending tag mismatch: diff line 2 and add
diffadd
[General] ======================================
[General] ======================================
[=ERROR=] LIBXML2: file:///extensions%2Fbradley_mod%2Fassets%2Funits%2Fsize_xl%2F%2Funits_size_xl_capital_destroyer_1?ext=pck%20xml line 8, error 5: Extra content at the end of the document
[General] ======================================
[General] ======================================
[=ERROR=] Error loading from XML merge/patch file 'assets\units\size_xl\\units_size_xl_capital_destroyer_1'. Check the log for further information. Skipping file.
[General] ======================================
[General] ======================================
[=ERROR=] Macro template connection 'connection_storage02' not found in macro 'units_size_xl_capital_destroyer_1_macro'. Macro connection 'connection_storage02' not created.
[General] ======================================