XML option parser for mcs

Jasper Huijsmans jasper at moongroup.com
Sun Dec 29 11:38:37 CET 2002


Hi Olivier,

On 29 Dec 2002 01:06:49 +0100
Olivier Fourdan <fourdan at xfce.org> wrote:

> Hi all,
> 
> FYI, I'm currently working on a small XML parser for mcs options based
> on GMarkup (ie not using libxml)
> 

Nice, I have been wondering if I should have used that for xfce4 as
well, but I was too lazy to find out how to use it.

Do you think it would win us something to use this instead of libxml
(memory footprint, speed)?

> The file format will be :
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE mcs-option SYSTEM "mcs-option.dtd">
> 
> <mcs-option>
> <option name="option1" type="int" value="3"/>
> <option name="option2" type="string" value="An option"/>
> <option name="option3" type="color" value="255,255,255,0"/>
> </mcs-option>
> 

I was wondering if it would be useful to make that

<mcs-channel name="xfwm">
<option .../>
...
</mcs-channel>

What do you think?

	Jasper

-- 
IRC channel: #xfce on irc.openprojects.net



More information about the Xfce4-dev mailing list