I have been reading the fine jwiki xml entries
contributed by Oleg, Devon, and others, to enable me to read
some game history data I have acquired. But I have not quite
gotten the hang of the coding required, so I am asking for
ideas here. Because the data file [see below] is so strongly
structured with one line for each triplet `<...>...</...>LF`
and each triplet in pairs, and each pair in the same
sequence of 5 pairs, and each such sequence between <dict>
and </dict>, my most recent thought is to abandon most of
the xml and just use nested Cut conjunctions starting
with ;._2 based on trailing LFs.

        But before doing any real coding I thought I would
ask hear for thoughts, ideas. An excerpt from the data file
is listed below. The header information uses the term PLIST
which makes me wonder if this is a standard xml format?

Thanks,

<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST
1.0//EN" "http://www.apple.
com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
        <dict>
                <key>date</key>
                <date>2010-07-25T02:55:34Z</date>
                <key>duration</key>
                <date>2001-01-01T00:29:10Z</date>
                <key>gameNumber</key>
                <real>94163764</real>
                <key>moves</key>
                <integer>23</integer>
                <key>result</key>
                <string>Loss</string>
        </dict>
        <dict>
                <key>date</key>
                <date>2010-07-05T19:46:01Z</date>
                <key>duration</key>
                <date>2001-01-01T00:08:44Z</date>
                <key>gameNumber</key>
                <real>192061342</real>
                <key>moves</key>
                <integer>108</integer>
                <key>result</key>
                <string>Win</string>
        </dict>
...


--

(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to