Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: XML
Home

[Freeciv-Dev] Re: XML

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <Per.Inge.Mathisen@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: XML
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 7 Dec 2001 09:51:07 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Thu, Dec 06, 2001 at 11:37:01PM +0100, Per I. Mathisen wrote:
> On Wed, 5 Dec 2001, Petr Baudis wrote:
> > > That is neater.  XML is more verbose, certainly.
> > Excessively verbose I would say. I just don't think XML is good for 
> > everything.
> > This is not the case where XML would give any huge benefit.
> 
> I've done a bit XML and XSLT (XML transformations) for my employer, and I
> agree that it is extremely verbose for what it does, _but_ I also think
> that freeciv would be much better off with XML than any arcane flex/bison
> or homebrewed solution. Users are getting familiar with XML (if nothing
> else, then through HTML), and using XSLT it is possible to do pretty tasty
> things without learning arcane unix tools (sorry). It is also the most
> multiplatform solution there is.

So what do you think are the problem of the current format?

> Things you can do with the rulesets with XSLT off the top of my head:
>  - automagically create documentation for modpacks
>  - automagically create tech trees from modpacks

Perl or python scripts.

>  - edit them in Emacs and other XML editors with validation
>  - run syntax validation tools on any platform or through a web page

The server makes this at the startup.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "On the eigth day, God started debugging"


[Prev in Thread] Current Thread [Next in Thread]