Author: Andrew Wagner
Date: 11:59:11 04/13/04
Go up one level in this thread
On April 13, 2004 at 12:56:21, Dan Honeycutt wrote: >On April 13, 2004 at 08:35:36, Andrew Wagner wrote: > >>[snip] >>Now, we take that PGN file and, using the PGN->PGML converter program, turn it >>into a (still pure text) PGML file. Now, we can change one line in this file, >>and when we open it in a browser ... > >Andrew >I like your idea. If i understand the above correctly - I don't think you >should have to change the PGML file. You should get out what you want based on >a selection in the browser or the XSLT you invoke. > >Dan H. Well, sure, if I want to put up a PGML file on a web site for people to see/download, it would be obscenely easy to allow the user to choose what output he wants to see based on a check-box or whatever. But the idea is to store and exchange files in PGML just as you would in PGN. Then, you just put the XSLT scripts in that folder, and just that easily you can switch from PGML to PGN to crosstables to JavaScript replay and back. So rather than writing one file for each, you abstract the formatting to an XSLT script and apply it to whatever data you want to. Does that make sense? Andrew
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.