Thema: Delphi Attribut auslesen..

Einzelnen Beitrag anzeigen

Benutzerbild von mtin
mtin

Registriert seit: 8. Jun 2005
34 Beiträge
 
#5

Re: Attribut auslesen..

  Alt 1. Mai 2007, 23:20
hmmm...also ich blick da echt überhaupt nicht durch!

jetzt kommt die Meldung

Project raised exception class EOleException with message 'This name may not contain the ':' character:
yweather-->:<--@temp'.

bei der Zeile
value:=Form1.xmldoc.DocumentElement.ChildNodes['channel'].ChildNodes['yweather:condition'].ChildNodes['@temp'].Text;

und der rss Datei
http://xml.weather.yahoo.com/forecastrss?p=GMXX1930&u=c
( <yweather:condition text="Fair" code="33" temp="7" date="Tue, 01 May 2007 10:20 pm CEST" /> )
  Mit Zitat antworten Zitat