James Britt
11/6/2004 12:21:00 AM
Jamis Buck wrote:
> Hans Fugal wrote:
>
>> But the way I read the quiz we didn't have to emit a certain kind of
>> XML, we just had to emit sensible XML. Certainly Jamis didn't give
>> enough data to fully specify the XML output, as you will see if you
>> pull up the GEDCOM spec and ponder the many subtleties therein (as I
>> see some of you may have begun to do).
>
>
> Very true. As long as what your program emits is sensible and accurately
> represents the data that was input, it is acceptable. In fact, Florian
> Gross just mentioned that his will even output YAML. :)
I was thinking that, were I to try this, I would likely first read the
data and create an internal object format, them serialize that object as
XML. And, given an object, one could have alternate serialization
formats, including GEDCOM, YAML, CSV, ANS.1, and so on.
An SVG rendering might be nice.
James