From: Eric Hodel Date: 2003-10-03T08:16:58-07:00 Subject: Re: xml + ruby --ByM1h5nouWwd3kz8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Austin Ziegler (austin@halostatue.ca) wrote: > There's further confusion if you had: >=20 > 123 >=20 > How would I refer to each individual item: list.item[0] through > list.item[2]? If the tag also allowed for CDATA values, > there's nothing in the XML spec that would prevent: >=20 > cdata1cdata2cdata Ruby <--> XML seems to be a poor fit, it seems XML will quickly become too verbose with all the exceptions and having to resort to XPath (I've seen several posts that say "oh, we'll have to use XPath for that", and that wouldn't make me very happy). Ruby <--> RDF would be a better fit, especially if used as a serialization format. --=20 Eric Hodel - drbrain@segment7.net - http://segment7.net All messages signed with fingerprint: FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --ByM1h5nouWwd3kz8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/fZLqMypVHHlsnwQRArVQAJwPaXBfSnLU04vX9y5XvY190ZJOJACgmGBU WsvZ+JdFEfKwv3yQwguOlCw= =WNpE -----END PGP SIGNATURE----- --ByM1h5nouWwd3kz8--