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-18 08:37:21 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!netnews.com!xfer02.netnews.com!newsfeed1.cidera.com!Cidera!cyclone.columbus.rr.com!cyclone3.kc.rr.com!news3.kc.rr.com!twister.socal.rr.com.POSTED!not-for-mail Message-ID: <3D0F53CC.E3CBB193@san.rr.com> From: Darren New X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Use of XML for config files References: <4519e058.0206041129.5b250124@posting.google.com> <4519e058.0206100702.5a4b431a@posting.google.com> <3D0769F7.68F5BD9C@san.rr.com> <4519e058.0206130553.3ee195f1@posting.google.com> <3D08CAF0.846AA176@san.rr.com> <3D08E539.343A42BF@san.rr.com> <3D0A2686.785D1BAC@san.rr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 18 Jun 2002 15:37:20 GMT NNTP-Posting-Host: 66.75.151.160 X-Complaints-To: abuse@rr.com X-Trace: twister.socal.rr.com 1024414640 66.75.151.160 (Tue, 18 Jun 2002 08:37:20 PDT) NNTP-Posting-Date: Tue, 18 Jun 2002 08:37:20 PDT Organization: RoadRunner - West Xref: archiver1.google.com comp.lang.ada:26250 Date: 2002-06-18T15:37:20+00:00 List-Id: Georg Bauhaus wrote: > Does this open up an opportunity to build an abstraction? Most certainly. I was thinking more along the lines of val := conf.get("Section", "super.subkey", "default value goes here"); conf.set("OtherSection", "yet.another.key", "new value here", "Optional comment goes here, describing yet.another.key"); conf.new_section("WindowSizes", "Another Optional Comment"); That's why I wanted to see your idea of what the API would look like. I'm trying to see what XML would be supporting that you can't support easily in the INI format. So far, all I've seen is "here's how the INI should look" and responses of "You can do that in XML too." :-) So what are you suggesting the XML-based API should look like? -- Darren New San Diego, CA, USA (PST). Cryptokeys on demand. ** http://home.san.rr.com/dnew/DNResume.html ** ** http://images.fbrtech.com/dnew/ ** My brain needs a "back" button so I can remember where I left my coffee mug.