[WSG] semantics for a binary tree?
A friend of mine needs to represent a pedigree (specifically for horses) and is looking for a semantic solution. The current representation: http://www.imperialegyptianstud.com/the-stallions/imperial_shehaab.html uses a table with various rowspans on the cells. I figured this was a sort of binary tree but I can't find anything about representing such a thing semantically in HTML (kind of funny considering HTML is a tree structure, yeah?) What would you recommend in this case? He could do something complicated with lists but then it would be very hard to style (especially horizontally). My initial reaction was just, keep using the table. Thoughts? Thanks in advance. -- -- Christian Montoya christianmontoya.com ... portfolio.christianmontoya.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] semantics for a binary tree?
How about something like this [site]map system? http://www.scottjehl.com/v7/index.php/process/stylemap_visual_sitemap Respectfully, Mike Cherim - Original Message - From: Christian Montoya [EMAIL PROTECTED] To: wsg@webstandardsgroup.org Sent: Sunday, November 12, 2006 4:37 PM Subject: [WSG] semantics for a binary tree? A friend of mine needs to represent a pedigree (specifically for horses) and is looking for a semantic solution. The current representation: http://www.imperialegyptianstud.com/the-stallions/imperial_shehaab.html uses a table with various rowspans on the cells. I figured this was a sort of binary tree but I can't find anything about representing such a thing semantically in HTML (kind of funny considering HTML is a tree structure, yeah?) What would you recommend in this case? He could do something complicated with lists but then it would be very hard to style (especially horizontally). My initial reaction was just, keep using the table. Thoughts? Thanks in advance. -- -- Christian Montoya christianmontoya.com ... portfolio.christianmontoya.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE: [WSG] semantics for a binary tree?
Well, semantically you have a nested un-ordered list. So in your case it would result in something like: ul liItem ul liItem ul liItem ul liItem ul liItem/li liItem/li /ul /li liItem ul liItem/li liItem/li /ul /li /ul /li liItem ul liItem ul liItem/li liItem /li /ul /li liItem ul liItem/li liItem/li /ul /li /ul /li /ul /li liItem ul liItem ul liItem ul liItem/li liItem/li /ul /li liItem ul liItem/li liItem/li /ul /li /ul /li liItembr / ul liItem ul liItem/li liItem/li /ul /li liItem ul liItem/li liItem/li /ul /li /ul /li /ul /li /ul /li /ul Styling that sounds like a good challenge. - A -Original Message- From: listdad@webstandardsgroup.org [mailto:[EMAIL PROTECTED] On Behalf Of Christian Montoya Sent: Monday, 13 November 2006 10:38 a.m. To: wsg@webstandardsgroup.org Subject: [WSG] semantics for a binary tree? A friend of mine needs to represent a pedigree (specifically for horses) and is looking for a semantic solution. The current representation: http://www.imperialegyptianstud.com/the-stallions/imperial_shehaab.html uses a table with various rowspans on the cells. I figured this was a sort of binary tree but I can't find anything about representing such a thing semantically in HTML (kind of funny considering HTML is a tree structure, yeah?) What would you recommend in this case? He could do something complicated with lists but then it would be very hard to style (especially horizontally). My initial reaction was just, keep using the table. Thoughts? Thanks in advance. -- -- Christian Montoya christianmontoya.com ... portfolio.christianmontoya.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** -- Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.10.9/417 - Release Date: 11/08/2006 *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL
Re: [WSG] semantics for a binary tree?
Christian Montoya wrote: http://www.imperialegyptianstud.com/the-stallions/imperial_shehaab.html My initial reaction was just, keep using the table. Thoughts? I'd say a complex table (using all the appropriate headers attributes on the various cells to define relationships) would be the most appropriate way to mark this up, yes. P -- Patrick H. Lauke __ re·dux (adj.): brought back; returned. used postpositively [latin : re-, re- + dux, leader; see duke.] www.splintered.co.uk | www.photographia.co.uk http://redux.deviantart.com __ Web Standards Project (WaSP) Accessibility Task Force http://webstandards.org/ __ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***