[prev in list] [next in list] [prev in thread] [next in thread]
List: binarycloud-dev
Subject: Re: [binarycloud-dev] Configure -- XML parsing
From: Andreas Aderhold <a.aderhold () thyrell ! com>
Date: 2002-10-31 21:32:35
[Download RAW message or body]
Hi Jason,
> This looks like an .ini file than can be parsed with parse_ini_file().
Right. Bascially but without the nasty [ ] sections. Sections sould be made
by hirachy so we can stay with the simple key/value idiom (see
phing.system.util.Properties)
package.name = somename
another.deep.hirachy.key = value
The properties class is using parse_ini_file() btw.
Andi
> If it isn't, perhaps it should be...
>
>
> [package]
> name = forum
> version = 1.0rc2
> author = Jon Hoe
> email = doe@foo.org
> packager = Doe <doe@foo.org>
>
> [whatever_else]
> foo = bar
> something = nothing
>
.andi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@binarycloud.tigris.org
For additional commands, e-mail: dev-help@binarycloud.tigris.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic