On Sat, May 04, 2002 at 06:55:56PM +0200, Sven Neumann wrote:
> Ayose <[EMAIL PROTECTED]> writes:
> > > we will most likely need at least one XLST that extracts a much
> > > simpler format to be used in the About dialog.
> > How "simpler"? Something like
> > name, author (email), comments
> all we need are simple list of names. Or do we want email addresses in
> the about dialog and the AUTHORS file? I think not. The transformation
> wouldn't be a real XSLT since what we need as output format is not
> actually XML. I'd like to generate the plain-text file AUTHORS as well
> as the header file app/gui/authors.h from the XML file.
Wait a moment, please. Who says that XSLT only works with XML?
With XSLT you can transform a XML file in everything: a plain-text,
HTML, a new XML or even in C source. You only need put
<xsl:output method="text"/> in the top-level.
> Commenting on your proposal, I'd say that it probably makes sense to
> organize the XML file by persons because we need more than only
So I was wrong
> We also want to list core developers, tool authors, help
> writers, web masters, screen designers, just everyone who contributed
> to The GIMP.
Well, imaging you want to know only his/her name and email, and put a
comment about he/she
<work><!-- here: core develp, tool authors, help writer...--></work>
<comment>A little comment</comment>
For every person will be a <person> entry. And, for instance, if you want
to get a list like
The XSLT will be
<?xml version="1.0" encoding="iso-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" />
There are a lot of chars, but the code is simple. :)
Of course, with the same XML you can get a more detailed list about
Ayose Cazorla León
Debian GNU/Linux - setepo
Gimp-developer mailing list