From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a26758eec3c2e1ad X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-09 15:14:10 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.airnews.net!cabal11.airnews.net!216.166.61.5.MISMATCH!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!bin8.nnrp.aus1.giganews.com.POSTED!not-for-mail Sender: Stephe@TAKVER Newsgroups: comp.lang.ada Subject: Re: Use of XML for config files References: From: Stephen Leake Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Date: Sun, 09 Jun 2002 17:13:53 CDT Organization: Giganews.Com - Premium News Outsourcing X-Trace: sv3-8xosC3f5v2LNWJqIugdTtshqcLM4SR65fDUxn0NiBpKtdKrk2NE/cOM2ooADMdmCq9VpSqAN7V9oMPD!ISdNoxWcEz93e7K3jcgtSMpdI+sxcyvEBqghQVs+Q4M= X-Complaints-To: abuse@comcast.com X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Date: Sun, 09 Jun 2002 22:13:53 GMT Xref: archiver1.google.com comp.lang.ada:25633 Date: 2002-06-09T22:13:53+00:00 List-Id: "Grein, Christoph" writes: > > I would prefer nested configuraton sections, and simplify the notation > > for key/value pairs: > > > > > >
> >
> > Value1 > > Value2 > >
> > ValueX > >
> >
> > I would also prefer this syntax. It's much shorter and thus easier to read. The draft implementation I'm working on uses this instead: Value1 Value2 ValueX This is the style generated by the Glib.XML package. It's even shorter :). I am an XML beginner. I gather the value style is more amenable to definition via DTD or schema? What other virtues does it have? I'll look into modifying the Glib.XML package to generate this style, as draft implementation 2. -- -- Stephe