Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reading XML file
#1
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:
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.


Messages In This Thread
Reading XML file - by Covert2String - 04-22-2012, 04:58 PM
Re: Reading XML file - by Covert2String - 04-29-2012, 11:17 AM
Re: Reading XML file - by Covert2String - 04-30-2012, 03:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with PCX file. Worf 2 14,094 10-15-2014, 10:41 AM
Last Post: Worf
  Protecting a file Covert2String 4 15,162 05-10-2012, 12:01 AM
Last Post: Covert2String
  Create a new file Covert2String 5 18,783 04-11-2012, 02:47 PM
Last Post: brandonio21
  Apply a diff file to another file Covert2String 8 27,435 04-09-2012, 03:21 PM
Last Post: Covert2String

Forum Jump:


Users browsing this thread: 1 Guest(s)