On Fri, 17 May 2024 15:13:07 +0100, bart wrote:
Fortunately I've haven't had to work with XML for years. It is anyway an
ugly format and pretty much unreadable even for humans, with the actual
data barely discernable amidst all the tag clutter. Here's a real
example:
<Declarant>
<Declarant_code>00013464-00002735</Declarant_code>
<Declarant_name>
....
<Declarant_representative>
<null />
</Declarant_representative>
<Reference>
<Year>2017</Year> <Number>001A</Number>
</Reference>
</Declarant>
I’ve handled worse. How about this (after fixing that missing closing
tag):
<Declarant>
<Declarant_code>
00013464-00002735
</Declarant_code>
<Declarant_name>
....
</Declarant_name>
<Declarant_representative>
<null/>
</Declarant_representative>
<Reference>
<Year>
2017
</Year>
<Number>
001A
</Number>
</Reference>
</Declarant>
Courtesy of <
https://bitbucket.org/ldo17/xmlpretty/>.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)