Reading XML Via Delphi 6 App?
From: Rich Morey (rwmorey_at_27east.com)
Date: 01/24/04
- Next message: Brian Clausing: "Re: Encryption algorithm (or VCL) that only outputs Alpha-Numeric chars"
- Previous message: David Reeve: "Re: Encryption algorithm (or VCL) that only outputs Alpha-Numeric chars"
- Next in thread: J French: "Re: Reading XML Via Delphi 6 App?"
- Reply: J French: "Re: Reading XML Via Delphi 6 App?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 Jan 2004 08:39:05 -0800
I am trying to read data out of an XML file.. The format of which is
below:
<item rdf:about="http://newyork.craigslist.org/jsy/eng/22989284.html">
I am able to read the title and link from the above XML using the
varLink = XMLDoc.ChildNodes['link'].Text;
What I would also like to read is the DATE from the "DC:DATE" tag, but
Any ideas?
Thanks,
Rich
<title>Manager, Web Technology</title>
<link>http://newyork.craigslist.org/jsy/eng/22989284.html>
<dc:creator>webmaster@craigslist.org</dc:creator>
<dc:language>en-us</dc:language>
<dc:title>Manager, Web Technology</dc:title>
<dc:source>http://newyork.craigslist.org/jsy/eng/22989284.html>
<dc:rights>Copyright 2004, craigslist.org</dc:rights>
<dc:date>2004-01-23T14:30:29</dc:date>
<dc:type>text</dc:type>
</item>
TXMLDocument using this code:
varTitle = XMLDoc.ChildNodes['title'].Text;
I can't figure out how to do it..
Relevant Pages
|