04-22-2012, 04:58 PM
Hi, this time I need to read values from a XML file, the problem is, it pops up an error saying it contains invalid characters. These are a few lines of my XML file:
So, how can I fully read the XML file, line by line, and fill a Box (comboBox, listbox...) with the values.
Quote:<item_proto extended="true" version="1">
<Item vnum="1" name="Yang" type="9" subtype="0" weight="0" size="1" antiflag="0" flag="0" wearflag="0" immuneflag="0" gold="0" buy_price="0" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="0" socket1="64864" socket2="127" socket3="65008" socket4="21631" socket5="4855" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
So, how can I fully read the XML file, line by line, and fill a Box (comboBox, listbox...) with the values.