No, GML/PC is not a XML format. For instance, tags don't always have a closing counterpart.
My idea is to define a DTD as close as possible to GML/PC grammar, and then write a parser which will have to fill in the differences (adding closing tags, and a few other similar tasks). The closer the...