[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: GEDCOM model in XML

  • From: "Michael Kay" <M.H.Kay@e...>
  • To: "Peter Murray-Rust" <peter@u...>, <xml-dev@i...>
  • Date: Fri, 19 Dec 1997 11:50:04 -0000

gedcom model
Mark L. Fussell:
>I would strongly suggest first designing the genealogical object model
>from the GEDCOM definitions (and other sources) without considering XML
>or DOM at all.

Thanks, yes. I agree absolutely. Fortunately my background is in data
modelling so I'm happy with this side of things.

My design problem is whether to implement the genealogical objects as
pointers to XML DOM objects or as copies/conversions of data extracted from
DOM objects. Of course the choice can be hidden behind the interface.

Peter Murray-Rust:
>Any pure tree is extremely easy to represent in XML. So, if you simply want
>to trace an ancestor tree (i.e. two parents, 4 grand parents, etc.) this is
>trivial....
>The difficulty comes when the graph has cycles. I am not an expert
>genealogist, but most 'family trees' seem to me to be Directed Acyclic
>Graphs (DAGs) where the arcs are isParentOf(); and is directional.  DAGs
>are common ...
>
Unfortunately the "family tree" is not isomorphic with the XML tree. There
is
no hierarchic relationship between a husband and wife. It isn't even a
DAG, (because I can record relationships like "A is-the-godfather-of B"
and "B is-the-executor-of A" ).

>Note that the use of ID/IDREF may introduce additional complexity.
>Personally I am not clear on the value of IDREF over XLL - it's not trivial
>to support in a browser and I doubt that JUMBO will do it.
>
I am currently using ID/IDREF to represent these relationships, because
it maps directly to the current GEDCOM standard. I still feel uncomfortable
that this is unrelated to the XLL linking model. I do recognise that
displaying
information in a genealogically-useful way is going to require application
logic, and won't be achieved by general purpose XML tools; though it
would certainly be nice if the general tools made it easy to follow ID/IDREF
relationships.

Mike Kay


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.