Re: XML (was Re: Which newsgroup for json parsing?)

Liste des GroupesRevenir à l c 
Sujet : Re: XML (was Re: Which newsgroup for json parsing?)
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.c
Date : 25. May 2024, 04:53:19
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v2rjqu$2n6d3$1@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Pan/0.158 (Avdiivka; )
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/>.

Date Sujet#  Auteur
8 May 24 * Which newsgroup for json parsing?29Josef Möllers
8 May 24 +* Re: Which newsgroup for json parsing?2Anton Shepelev
23 May 24 i`- Re: Which newsgroup for json parsing?1Lawrence D'Oliveiro
8 May 24 +* Re: Which newsgroup for json parsing?2Malcolm McLean
8 May 24 i`- Re: Which newsgroup for json parsing?1Anton Shepelev
9 May 24 +- Re: Which newsgroup for json parsing?1jak
13 May 24 +- Re: Which newsgroup for json parsing?1Josef Möllers
16 May 24 `* Re: Which newsgroup for json parsing?22Mikko
16 May 24  +* Re: Which newsgroup for json parsing?19Josef Möllers
16 May 24  i+* Re: Which newsgroup for json parsing?6bart
17 May 24  ii`* Re: Which newsgroup for json parsing?5Malcolm McLean
17 May 24  ii +* Re: Which newsgroup for json parsing?2bart
25 May 24  ii i`- Re: XML (was Re: Which newsgroup for json parsing?)1Lawrence D'Oliveiro
17 May 24  ii `* Re: Which newsgroup for json parsing?2jak
17 May 24  ii  `- Re: Which newsgroup for json parsing?1Malcolm McLean
18 May 24  i`* Re: Which newsgroup for json parsing?12Mikko
27 May 24  i `* Re: Which newsgroup for json parsing?11Josef Möllers
27 May 24  i  `* Re: Which newsgroup for json parsing?10Vir Campestris
28 May 24  i   `* Re: Which newsgroup for json parsing?9Josef Möllers
28 May 24  i    +* Re: Which newsgroup for json parsing?7Michael S
28 May 24  i    i+- Re: Which newsgroup for json parsing?1Josef Möllers
29 May 24  i    i+* Re: Which newsgroup for json parsing?3Malcolm McLean
29 May 24  i    ii`* Re: Which newsgroup for json parsing?2David Brown
30 May 24  i    ii `- Re: Which newsgroup for json parsing?1Malcolm McLean
31 May 24  i    i+- Re: Which newsgroup for json parsing?1Tim Rentsch
5 Aug 24  i    i`- Re: Which newsgroup for json parsing?1Lawrence D'Oliveiro
30 May 24  i    `- Re: Which newsgroup for json parsing?1Vir Campestris
23 May 24  `* Re: Which newsgroup for json parsing?2Lawrence D'Oliveiro
23 May 24   `- Re: Which newsgroup for json parsing?1Malcolm McLean

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal