🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.xml
Article #169

Re: XML query

#169
From: RT
Date: Thu, 24 Apr 2008 14:35
37 lines
2240 bytes
Slick as snot on a door knob, thanks.


"Bob Swart" <Bob@eBob42.com> wrote in message 
news:481054EC.2070504@eBob42.com...
> Hi RT,
>
>> I have an xml with 400 records and its xsd file.  I have used the xml 
>> data binding wizard and therefore have the interfaces.
>
> Why not use the XML Mapper to transform the XML document into a data 
> packet that can be loaded into a TClientDataSet ??
>
>> to filter by fields and then export the resulting dataset in various 
>> formats selected fields, much like an sql statement through a visual 
>> mechanism.
>
> You can use the filter property of a TClientDataSet to filter all you want 
> ;-)
>
>> As I am new to working with XML can anyone point me to a 
>> dialog/component/unit that might implement a query mechanism like sql for 
>> an xml file that contains a few hundred records?
>
> See http://www.drbob42.com/examines/examin25.htm for an intro to the XML 
> Mapper.
>
>> RT
>
> Groetjes,
>           Bob Swart
>
> -- 
> Bob Swart Training & Consultancy (eBob42.com) Forever Loyal to Delphi
> CodeGear Technology Partner -- CodeGear RAD Studio Reseller (BeNeLux)
> Personal courseware + e-mail support http://www.ebob42.com/courseware
> Blog: http://www.drbob42.com/blog - RSS: http://eBob42.com/weblog.xml 
Technical Details
Message-ID: <48109ac7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <480faf4e@newsgroups.borland.com> <481054EC.2070504@eBob42.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f5d9b,c8460eda612c293a
X-Google-Attributes: gidf5d9b,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "RT" <ralph.tuttle@visi.com>
From: "RT" <ralph.tuttle@visi.com>
Newsgroups: borland.public.delphi.xml
References: <480faf4e@newsgroups.borland.com> <481054EC.2070504@eBob42.com>
Subject: Re: XML query
Date: Thu, 24 Apr 2008 09:35:52 -0500
Lines: 39
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 208.42.94.158
Message-ID: <48109ac7$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1209047751 208.42.94.158 (24 Apr 2008 07:35:51 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail