Question Locked

xml

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

hi i am new to vb.net and i have to get info of an xml file that looks like this

can anyone help as i am very stuck. i can read normal xml files but my code wont work for this one

2 replies

by Former member

Description of XML- file for the CrocoBuy system

PART 1
------------------------------------------------------------------------------------
?
? PART 2

------------------------------------------------------------------------------------

? PART 3
?

------------------------------------------------------------------------------------

?
?
?
?
?
?
?

PART 4
?
?
?
?
?
?
?

------------------------------------------------------------------------------------

Part 1
Example:
Attribute date should contain date and time of creation of the file.
Part 2
Example:
AKVALANG
http://akvalang.com.ua

Tag name contains only title of the shop.

Tag url contains reference to the main page of the shop.

Attribute code from tag currency shows type of currency in xml-file. Acceptable values are ?GBP?, ?USD?, ?EUR?, etc.

Attribute rate from tag currency shows currency rate.
Examples:
- currency of the price is GB pound, rate is 5.2
- currency of the price is US dollar
- currency of the price is Euro
Part 3
Example:

computers
laptops

Tag catalog contains description of the categories tree.

The tag "category" contains the described category name in the directory.

Attribute id from tag category contains an unique category id.

Attribute parentID from tag category contains parent category id (if attribute parentID is not present or equals 0 ? in this case root category becomes parent category).
Part 4
Example:

Wetsuit Okun 7 mm
http://akvalang.com.ua/goods/?id=1
899.5
1
Osminog
http://akvalang.com.ua/goodsimage/?id=1
This wetsuit for those who doesn?t want or can?t buy the
expensive wetsuit, but who wants to buy qualitative goods.

Wetsuit Okun 3 mm mono
http://akvalang.com.ua/goods/?id=2
487
1
Osminog
http://akvalang.com.ua/goodsimage/?id=2
Monosuit made from neoprene 3 mm and it should be used for
immersion into warm water, and also for different kind of
sport.

Tag items contains all of the goods description in xml-file.

Tag item contains description of the separate goods.

Attribute id from tag item contains unique id of the goods.

Tag name contains the name of the goods.

Tag url contains reference on the goods page on the shop site.

Tag price contains price of the described goods (undesirable goods with price equal 0 or with price that is not real).

Tag categoryId contains category id from category tree (from PART 3 of this xml-file).

Tag vendor contains name of vendor for described goods. Not mandatory field.

Tag image contains a link on the image of the goods in gif, jpg or png format. Not mandatory field.

Tag description contains description of the goods, string under 64 Кб. Not mandatory field .
http://www.google.com/search?hl=en&q=XML+file+currency+code&btnG=Google+Search

Please post back if you have any more problems or questions.

This discussion is closed to new replies.