Oh... http://scid.sourceforge.net is a GPL tool to handle PGN (and is a great database for chess games).
Also: WinBoard/Xboard http://www.tim-mann.org/xboard.html
XML for chess
2004-09-01 16:06:09 oreilly@greggriffiths.org
I agree that PGN is a very good format for computer systems, it is not really suited for use with XML, although many apps - including mine - use XML formats for data transfer.
XML is a common data standard, so converting PGN / whatever to an XML format will make it easier for non PGN gurus who are building applications for Chess to have a better grasp on the data file.
One of the reasons I did not use PGN and opted for XML is that my Javascript based app can easily read an XML file, but any other format is a lot more complex.