From: | Robbie Schaefer |
Date: | 20 Sep 2000 at 17:46:59 |
Subject: | Re: XML Re: AMIOPEN: Hotkey Config/Need suggestions |
Hi Aaron
>> I am not an expert but I would like to add my comments.
>>
>> Why not consider to store configs in XML datafiles?
> Well, mainly because it means that you have to add a couple of megs
> to your app just to be able to read XML :-) *sigh* I guess there is
> no way to avoid XML now. And it would make sure that all config files
> have a similar format. Anyone willing to port a DOM parser to Ami ?
There are a couple of Java-Parsers, but I guess you meant a port for the VP.
Anyway, you don't need a DOM-Parser. For simple config-files an event-driven
parser might be sufficient. That way you'll have minimal memory overhead.
And if things could be done with a non-validating parser, building an
XML-parser for Ami would be quite simple.
Bye,
Robbie.
Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html