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-Thread: 103376,cc6427a95410cecf,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Thu, 11 Sep 2008 14:35:42 +0200 From: Thomas Locke User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: XML/Ada - reading an attribute Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <48c9109f$0$90269$14726298@news.sunsite.dk> Organization: SunSITE.dk - Supporting Open source NNTP-Posting-Host: 77.212.116.206 X-Trace: news.sunsite.dk DXC=DQmTaQF:]_cN2]LRcf6HDcYSB=nbEKnkk4?N7_EgM4be]KcSoP8OK@h@kCUDmHHZ?eQ@YG?9\n\[`YcNc@LkKo=o=Ni\6j7F`Kg X-Complaints-To: staff@sunsite.dk Xref: g2news1.google.com comp.lang.ada:1979 Date: 2008-09-11T14:35:42+02:00 List-Id: Hey group, I'm currently doing this in order to read the seconds attribute of the simulation_length element: http://pastebin.ca/1199908 My current solution is working quite well and it gets the job done, I'm just wondering if there's a "better" way. I've only just started working with XML/Ada, so it's pretty safe to say that I'm not very good at it yet. :o) Regards, /Thomas