Subj : human-readable nodelist format
To : Jan Vermeulen
From : Scott Little
Date : Sun Jan 05 2003 08:52 am
[ 04 Jan 03 21:51, Jan Vermeulen wrote to Micael Bulow ]
JV> So please show us the following lines in XML:
The structure is still being considered.. that's the tricky bit. If we knew
how to arrange the data we'd be writing code right now.
<hub number="60" name="Netherlands Hub 60" sysop="Jan Vermeulen">
<user-flags />PING, ENC
<link type="PSTN" number="31-75-6400-418" flags="CM,XA,V32B,V42B,V34,VFC"
/>
<link type="ISDN" number="31-75-6400-418" flags="CM,XA,V120L,V120H,X75" />
<link type="IP" address="213.84.184.65" flags="IBN" />
<node number="100">
<name />213.84.184.65
<sysop />Jan Vermeulen
<user-flags />CM, PING, ENC
<link class="DIALUP">
<number />31-75-6400-418
<flags />XA,V32B,V42B,V34,VFC,V120L,V120H,X75
</link>
<link type="IP">
<address />213.84.184.65
<flags />IBN
</link>
</node>
<node number="309" foo="bar">
<comment />and so on and so forth...
</node>
</hub>
That's just two possible ways of listing the same node (60 and 100 have the
same data, except their name) - using attributes of an element (name= sysop=
flags= etc), and using sub-elements (<name> <flags> etc), and just one way of
nesting the addressing structure (Nodes as sub elements of a Hub, rather than
as attributes of the nodes).
-- Scott Little [fidonet#3:712/848 /
[email protected]]
--- FMail/Win32 1.60+
* Origin: Cyberia: All your msgbase are belong to us! (3:712/848)