[darcs-users] Re: XML format
Mark Stosberg
mark at summersault.com
Fri Dec 17 01:29:00 UTC 2004
On 2004-12-16, Alexander Staubo <alex at byzantine.no> wrote:
> Mark Stosberg wrote:
>> On 2004-12-16, Alexander Staubo <alex at byzantine.no> wrote:
>>
>>>XML exists to describe these structures in a neutral, portable way. The
>>>wealth of parsers, validators and transformation tools provide a
>>>framework that allows you to get up and running very, very quickly.
>>>
>>>The fact that someone wrote a tool that turned "darcs changes --xml"
>>>into RSS, and did this in only a few lines, is a brilliant example of
>>>the way XML can empower developers.
>>
>> It's a not example of using one of the wealth of parsers, though-- The
>> XML that darcs produces is parsed 'by hand' in that script. :) It
>> does use XML::RSS to generate the XML output, though.
>
> Oh, man. I just looked at the code. That's *cruel*!
Maybe cruel but not with out benefit: Because no XML parser is used
(there are options that would be easy to use), the script has fewer
dependencies and is thus easier to deploy.
Mark
--
http://mark.stosberg.com/
More information about the darcs-users
mailing list