On 2023-04-26 18:23, Per Jessen wrote:
Carlos E. R. wrote:
On 2023-04-26 15:39, Per Jessen wrote:
Frankly, no. XML is easily formatted to be human readable, but it is most often not intended as such. If you are editing XML, unless it is e.g. an XSLT stylesheet or an HTML page, you should assume it was produced by some code. IMHO.
Other software produce precisely that line.
In XML ?
I don't remember all the file types where I saw this.
Thank goodness we are only discussing XML.
/usr/share/mobile-broadband-provider-info/apns-conf.xml
<?xml version="1.0"?> <!-- Automatically generated from serviceproviders.xml -->
/usr/share/flightgear/Aircraft/Instruments-3d/mk-viii/caution0.xml
<?xml version="1.0"?> <!--automatically generated, do not edit-->
Gee, thanks for that - one(!) exception to prove the rule.
Actually, it is many files in flightgear, I just copied one :-p
I took a quick look on my home drive - some 3700 LibreOffice files (text or spreadsheet) - each one is made up of 6 XML files. None of them contain any such comment.
Maybe they should, if they can not be edited ;-) -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)