I have been looking for a similar component myself. You can try the
implementation of SAX that appeared in the Delphi informant but I found
this a bit cumbersome.
SAX works okay for encoding, but I'm not quite sure what you mean by
decoding. If you're talking about rendering HTML from XML, then you need to
use some more jargon called XSL. You parse your XML with your XSL using
what's called a XSL processor and depending upon what output options the
processor provides you can have an HTML document or RTF document produced.
I ended up using a commercial product from Cuesoft, that encapsulates the
required functionality quite nicely. This component provides the XSL
processor as well in case you're interested. Unfortunately I haven't been
able to find a freeware native Delphi XSL processor, and even if I did I'm
not sure whether it would be the right answer for a lot of people as the
XSL specification is evolving rather rapidly.
There are also some ActiveX components out there that do XML processing,
have a look at www.xmlinfo.com or www.w3.org/XML for more information.
Simon
(Embedded
image moved [EMAIL PROTECTED]
to file: 22/02/2000 18:33
pic11824.pcx)
Please respond to [EMAIL PROTECTED]
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
cc:
Subject: [DUG]: Freeware XML Class??
G'Day All,
I was wondering if anyone could recommend a set of freeware classes to do
basic XML encoding and decoding? Has anyone had a good look at the XML
classes that were shown in the Delphi Informant (Current issue I think). I
have not and was wondering if they would do the job or if there are some
others out there? I am looking for native object pascal with no fiddly bits
(DLL's etc.)
TIA
------------------------------------------------------------------------
--Donovan
Donovan J. Edye [www.edye.wattle.id.au]
Namadgi Systems, Delphi Developer
Web: www.namsys.com.au E-Mail: [EMAIL PROTECTED]
Voice: +61 2 6285-3460 Fax: +61 2 6285-3459
TVisualBasic = Class(None);
------------------------------------------------------------------------
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
Paintbrush