Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > Delphi: Общие вопросы > xml and idhttp help


Автор: muratboy31 30.3.2010, 10:57
i want to show a text in input object from a xml page and the page contains it like that;

Цитата

<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
    <title>Rates</title>
    <pubDate>Tue, 30 Mar 2010 10:41:10 +0200</pubDate>
    <item>
  <title>Ata Cumhuriyet</title>
  <description>Alış 357.8400 TL ~ Satış:375.0000 TL</description>
    </item>
</channel>
</rss>


but i want to show the rate from <description> to an input object like that 357.8400  just the rate not the rest also the other rate in another input object 375.0000  so 2 inputs 1 with Alış rate and 1 with Satış rate...

input 1 (357.8400)
input 2 (375.0000)

how can i cut the numbers from the whole <description>Alış 357.8400 TL ~ Satış:375.0000 TL</description>  and paste to input object ???

thanks in advance

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)