Go Back   CodingForums.com > :: Client side development > XML

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-12-2012, 03:47 PM   PM User | #1
Kungen
New to the CF scene

 
Join Date: Nov 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Kungen is an unknown quantity at this point
CSV to XML template

Hey guys.

new to boards and quite new to xml.

I have a template in XML.

its a big list of items in this format:
Code:
<!--Potent Flame Spessarite-->
      <If Condition="(int)Me.Gold &gt;= (int)Settings[&quot;MinimumBuyOutGold&quot;]" IgnoreCanRun="True">
        <BuyItemFromAhAction ItemListType="Item" ItemID="23101
" MaxBuyout="14g23s81c" Amount="20" BuyAdditively="False" AutoFindAh="True" BidOnItem="True" Location="0, 0, 0" />
      </If>
see the "Item ID" and the MaxBuyout="14g23s81c"

This is the price of somthing.

I have a .CSV file which gets updated every day with new "prices"

The new prices look like this in a .CSV

Code:
Realm	ItemID	ItemName	Market	Quantity	MarketAverage	MarketStdDev	ReagentPrice	LastSeen
H-Terenas	23101	Potent Flame Spessarite	47500	0			57300	2012-08-20T23:08:30+02:00
I need to match the item ID's and import the "reagent price" into the "MaxBuyout" on the xml file.

but there is 12,000 items and you cant imagine how long it would take to do by hand.

is there a tool or script that would make this more simple to achieve.

Thanks in advance!

Kungen
Kungen is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:05 PM.


Advertisement
Log in to turn off these ads.