Get XML data into table

zenrast

Client
Регистрация
20.03.2013
Сообщения
57
Благодарностей
1
Баллы
8
I would like to do this:

1.Call a XML file: http://domain.com/webservice.xml that would contain all the data that is needed for execution of one thread.
For example:

<xml>
<company_name> Company Ltd. </company_name>

<to-do>
<property> domain1.com </property>
<location> US </location>
<to-do>

<to-do>
<property> domain2.com </property>
<location> UK </location>
<to-do>

<to-do>
<property> domain3.com </property>
<location> US </location>
<to-do>
</xml>

..and i would like to load this into a zennoposter "Table" so i can take the rows one by one and do something with them.
..so i would maybe create a "table" like this:
domain1.com; US
domain2.com; UK
domain3.com; US
..and get the company_name into variable.

The idea is that each time when this http://domain.com/webservice.xml is called it returns a new set of data (New company).
So if i would run the zennoposter in multi-thread mode it would always get new data.

Im new to zennoposter so i wonder if this is possible with zennoposter?
Maybe some tips how could this be best done?
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113
It is possible with Zenno using word processing, but I'd do that in c# action with XmlTextReader
 

zenrast

Client
Регистрация
20.03.2013
Сообщения
57
Благодарностей
1
Баллы
8
Fantastic. Could u show an example of how to do this with XmlTextReader?
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)