From: Richard Knapp (gyp_caver_at_yahoo.com)
Date: Wed Jan 24 2001 - 22:30:04 CET
Received: (from mdom_at_localhost) by karto.ethz.ch (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id XAA10898 for cavexml-outgoing; Wed, 24 Jan 2001 23:02:46 +0100 Received: from smtp1b.mail.yahoo.com (smtp3.mail.yahoo.com [128.11.68.135]) by karto.ethz.ch (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with SMTP id XAA10894 for <cavexml_at_cartography.ch>; Wed, 24 Jan 2001 23:02:44 +0100 Message-Id: <200101242202.XAA10894@karto.ethz.ch> Received: from slip166-72-184-54.nc.us.prserv.net (HELO Muphin) (166.72.184.54) by smtp.mail.vip.suc.yahoo.com with SMTP; 24 Jan 2001 22:58:22 -0000 X-Apparently-From: <gyp?caver_at_yahoo.com> From: "Richard Knapp" <gyp_caver_at_yahoo.com> To: "cavexml_at_cartography.ch" <cavexml_at_cartography.ch> Date: Wed, 24 Jan 2001 16:30:04 -0500 (EST) X-Mailer: PMMail 2.20.2030 for OS/2 Warp 4.00 In-Reply-To: <Pine.GSO.4.05.10101240914430.10235-100000_at_cor.oz.cc.utah.edu> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: LRUD: 'From' or 'To' ? Sender: owner-cavexml_at_karto.baug.ethz.ch Precedence: bulk Reply-To: cavexml_at_cartography.ch
>> > is. The FROM relationship can be recorded elsewhere in the XML file,
>> > probably subordinate to the <SHOT> but parent to the <StationName>.
>> The XML data file can get very verbose if we scorn attributes.
>
> I think attributes, in standard units and form, make simple programs
> that do simple things with it easier to write.
Elements, properly defined and decorated with attributes still keep the structure tidy and
processing simple. The bad part of elements seems to be the use of CDATA sections instead of
storing the value in an attribute tag. (see http://www.oasis-open.org/cover/elementsAndAttrs.html)
>> > A rule of thumb I've read in my XML research is this: Use Elements to
>> > ...
>> > are indicative of data that lends itself well to a nested structure.
>
> I heartily agree with this statement.
Uh-oh. You have another that agrees.
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
This archive was generated by hypermail 2b30 : Wed Feb 14 2001 - 00:03:53 CET