D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

RE: [LUG] XML Editors



>===== Original Message From Kai Hendry ===== >On Tue, May 20, 2003 at 08:01:43 +0100, Paul Weaver wrote: >> >Oh dear! Looks like you are abusing XML. :) >> So what, is an "OK" level of tag nesting? > >Well, I would try avoid it completely if possible. Nesting is a >nightmare. Anyone who has worked with sax and some typical xml docs >will quickly come across some problems... Completly avoid all nesting?? So "" would be no good? >> >10 Nested tags? lol... >> Take a simple example: >> 1) html >> 2) body >> 3) div >> 4) table >> 5) tr >> 6) td >> 7) span >> 8) a > >Not a simple example, but a good one. Hopefully XHTML and the new 2.0 >will make this less of a problem. div and span stuff could be replaced >by a id attribute for example. And 'a' with I think link or something like >that. replaceing "" with "" wouldnt reduce nesting. >Tables should be avoided at all times. Especially regarding layout. No, tables should be avoided regarding layout. If I have a piece of information in a tabulated format (say part of a CSV file), what better way then to tabulate it? Some cells might be links too. Whats wrong with a table like this? Header: Name/Age/Picutre/homepage Data: Bob/45//www.bob.com Data: Mary/85//www.mary.com Data: Jim/19//www.jim.com -- The Mailing List for the Devon & Cornwall LUG Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the message body to unsubscribe.
Lynx friendly