Hey Gregor

Where did your reply go...

I saw it come in on my phone and now I cannot find it anywhere, not even
the SF archive?!?

Anyway, just because the XML DTDs are really old doesn't mean they are not
in use or useful, just that folks are still stuck with PGN & ChessBase
I seem to remember one of these getting some traction at the time and even
getting registered formally somewhere; or maybe thats just what happens
with DTDs

Personally I favour a simple INI-file style i.e. key-value pairs and
sections; terser even than PGN 

On Tue, 25 Mar 2014 17:41:55 +0000
Drew Ferguson <d...@afccommercial.co.uk> wrote:

> Here's one
> 
>   http://www.cybercom.net/~zbrad/Chess/pgnxml/
> 
> and another
> 
>   http://www.saremba.de/chessgml/
> 
> and yet another
> 
>   http://xml.coverpages.org/chessML.html
> 
> Last one came out of uni-bonn.de I believe
> 
> Oh dear, I thought there was something approaching a consensus for a
> post-PGN format but it seems not and these links appear to be almost in
> the previous millenium!
> 
> Though not sure why you would want to use XML if this is only for you. In
> general XML is very verbose compared to something as terse as PGN. Indeed
> what is your problem with PGN, you can add any tag you want especially if
> it is only for your own purposes.
> 
> On Tue, 25 Mar 2014 18:04:49 +0100
> "Gregor Cramer" <rema...@gmx.net> wrote:
> 
> > Due to the fact that PGN
> > (http://en.wikipedia.org/wiki/Portable_Game_Notation) is not sufficient
> > for modern chess applications, I'm working on a different format,
> > especially for the backup of unsaved games. I'm in fact not very
> > familiar with XML, so I need some suggestions. My first idea is
> > something like this:
> > 
> > ---------------------------------------------------------------------
> > <?xml version="1.0"?>
> > <!-- cif -->
> > 
> > <meta charset=utf-8"/>
> > <meta author="Scidb"/>
> > 
> > <description lang="en">Only an incomplete example</description>
> > 
> > <game variant="normal" startpos="518">
> >    <tag name="Event">At home</tag>
> >    <tag name="White">It's me</tag>
> >    <tag name="Black">It's my opponent</tag>
> > 
> >    <moves>
> >       1.e4 e5 2.Nf3 Nc6 3.Bc4 Nf6 4.Ng5 $5
> >          <post lang="en">Due to Tarrasch this is a
> > <b>patzer</b>.</post> <post lang="de">Laut Tarrasch ist dies ein
> > <b>Patzerzug</b>.</post> <arrow from="g5" to="f7"/>
> >       4...Bc5
> >          <marker type="square" color="yellow" to="f2"/>
> >          (d5 <post lang="en">This is the usual reply.</post>)
> >       5.Nxf7 Bxf2+
> >       <trailing lang="en">I've abandoned, that's too much for
> > me.</trailing> </moves>
> > </game>
> > ---------------------------------------------------------------------
> > 
> > This example is of course not complete.
> > 
> > The chess variant and the start position will be
> > given with the <game...> markup, because this is also
> > an information for the parser.
> > <trailing>...</trailing> is a trailing comment,
> > <post>-...</post> is a comment after last move,
> > <arrow ...> defines an arrow, and
> > <marker ...> defines a coloured square.
> > The syntax for comments is a subset of xhtml (this
> > makes it parseable for XML parsers, I think), and may
> > contain UTF-8 characters. But I'm not satisfied with
> > the syntax of the tags like
> >    <tag name="Event">At home</tag>
> > probably somebody knows an alternative way.
> > 
> > <!-- cif --> is the magic number, and is an abbreviation
> > for "Chess Interchange Format".
> > 
> > Gregor
> > 
> > ------------------------------------------------------------------------------
> > Learn Graph Databases - Download FREE O'Reilly Book
> > "Graph Databases" is the definitive new guide to graph databases and
> > their applications. Written by three acclaimed leaders in the field,
> > this first edition is now available. Download your free book today!
> > http://p.sf.net/sfu/13534_NeoTech
> > _______________________________________________
> > Scidb-users mailing list
> > Scidb-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/scidb-users
> 
> 
> 



-- 
Drew Ferguson
AFC Commercial
http://www.afccommercial.co.uk

Reply via email to