Article View: borland.public.delphi.xml
Article #200Re: Atom read
From: Sergio Pottstock
Date: Wed, 18 Jun 2008 19:06
Date: Wed, 18 Jun 2008 19:06
74 lines
3929 bytes
3929 bytes
Now I confuse with this:
<title type='text'>HP anuncia iPAQ 914</title>
Read OK with : ANode.ChildNodes['title'].Text;
<content type='html'><DIV><FONT face=Arial size=2> <TABLE
cellSpacing=2 cellPadding=0 width=462 border=0> <TBODY> <TR
align=left> <TH class=titulo-not scope=col
colSpan=2></TH></TR> <TR> <TH vAlign=top
scope=col align=left><IMG hspace=5
src="http://www.diarioti.com/sisimg/18050b_hpipaq.gif" align=left
border=1>&nbsp;<SPAN class=titulo-head><BR>La serie HP
IPAQ 914 utiliza el sistema operativo Microsoft Windows Mobile 6.1
Professional para acceder a las aplicaciones profesionales m�s
comunes.</SPAN> <SPAN
class=texto-detalle><BR><BR></SPAN></TH></TR&g
t;</TBODY></TABLE></FONT></DIV>El dispositivo
utiliza una conexi�n inal�mbrica tri-banda UMTS/HSDPA y cuatri-banda
GSM/GPRS/EDGE que permite al usuario las comunicaciones por voz y acceso a
Internet en cualquier parte, mientras que la tecnolog�a integrada Bluetooth
y Wi-Fi ofrece total conectividad.<BR><BR>El dispositivo
dispone de pantalla t�ctil y una rueda de cinco direcciones que permite
navegar a trav�s de men�s y emails. Las aplicaciones de serie Cyberon Voice
Commander y HP Voice Reply dejan que el usuario env�e mails y ejecute otro
tipo de comandos por voz sin necesidad de tocar el
dispositivo.<BR></content>
Read OK with : ANode.ChildNodes['content'].Text;
<author><name>Sergio
Pottstock</name><email>noreply@blogger.com</email></author>
Read OK with : ANode.ChildNodes['author'].ChildNodes['name'].Text;
<link rel='alternate' type='text/html'
href='http://pttk.blogspot.com/2008/06/hp-anuncia-ipaq-914.html' title='HP
anuncia iPAQ 914'/>
I'cant read with : ANode.ChildNodes['link'].Text;
Any idea?
Thank
PTTK
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> escribi� en el mensaje
news:48594e47$1@newsgroups.borland.com...
>
> "Sergio Pottstock" <pttk@pttk.cl> wrote in message
> news:48592b00@newsgroups.borland.com...
>
> > I try read this : http://pttk.blogspot.com/atom.xml for example
>
> As I keep telling you, you are looking in the wrong place for the "entry"
> nodes. You need to search the immediate chilren of the DocumentElement.
> But you are searching the children of the first child of the
DocumentElement
> instead. That is why FindNode() returns nil. In other words, you need to
> change this line:
>
> StartItemNode :=
> XMLDoc.DocumentElement.ChildNodes.First.ChildNodes.FindNode('entry');
>
> To this instead:
>
> StartItemNode := XMLDoc.DocumentElement.ChildNodes.FindNode('entry');
>
>
> Gambit
>
>
Technical Details
Message-ID:
<48595c84$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4857d362$1@newsgroups.borland.com> <4857f107$1@newsgroups.borland.com> <48582ed7@newsgroups.borland.com> <4858434c$1@newsgroups.borland.com> <48592b00@newsgroups.borland.com> <48594e47$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f5d9b,a07bb6d00dda2221 X-Google-Attributes: gidf5d9b,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Reply-To: "Sergio Pottstock" <pttk@pttk.cl> From: "Sergio Pottstock" <pttk@pttk.cl> Newsgroups: borland.public.delphi.xml References: <4857d362$1@newsgroups.borland.com> <4857f107$1@newsgroups.borland.com> <48582ed7@newsgroups.borland.com> <4858434c$1@newsgroups.borland.com> <48592b00@newsgroups.borland.com> <48594e47$1@newsgroups.borland.com> Subject: Re: Atom read Date: Wed, 18 Jun 2008 15:06:45 -0400 Lines: 76 Organization: InfoTecnologia X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1914 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914 NNTP-Posting-Host: 200.112.16.183 Message-ID: <48595c84$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1213815940 200.112.16.183 (18 Jun 2008 12:05:40 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail