Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

DouglasP

Biblioteca php e xml

Recommended Posts

Boa tarde,

queria saber como fazer o seguinte,

to fazendo umas consultas no banco e quebrando os mesmos em partes de 20 e pegando os 4 primeiros caracteres,

pois são os que me interessam.

 

porem de um banco de dados a outros esses 4 primeiros caracteres mudam,

entao queria fazer um xml com definições de cada um e acessar o xml pelo php, ai quando encontrar um x elemento trocar para x elemento.

 

como fazer?

 

Grato.

Compartilhar este post


Link para o post
Compartilhar em outros sites

No caso:

<item key="118" name="Elemental Shield" id="05" to="002" />

é um exemplo doque estou fazendo, minha string vai retorna o valor 05, tem como eu dar como se fosse um select no xml pra obter o "to" ?

como se fosse uma query normal:

select to from lib_items where id='05'

grato.

Compartilhar este post


Link para o post
Compartilhar em outros sites

<item key="118" name="Elemental Shield" id="05" to="002" />

é um exemplo doque estou fazendo, minha string vai retorna o valor 05, tem como eu dar como se fosse um select no xml pra obter o "to" ?

como se fosse uma query normal:

select to from lib_items where id='05'

Bom, se você não quiser iterar todo o seu XML comparando um por um em busca do valor que precisa você pode usar XPath:

 

$items = <<<XML
<?xml version="1.0"?>
<root>
    <item key="118" name="Elemental Shield" id="00" to="0000" />
    <item key="119" name="Elemental Shield" id="01" to="0001" />
    <item key="120" name="Elemental Shield" id="02" to="0010" />
    <item key="121" name="Elemental Shield" id="03" to="0011" />
    <item key="122" name="Elemental Shield" id="04" to="0100" />
    <item key="123" name="Elemental Shield" id="05" to="0101" />
    <item key="124" name="Elemental Shield" id="06" to="0110" />
    <item key="125" name="Elemental Shield" id="07" to="0111" />
    <item key="126" name="Elemental Shield" id="08" to="1000" />
    <item key="127" name="Elemental Shield" id="09" to="1001" />
    <item key="128" name="Elemental Shield" id="10" to="1010" />
    <item key="129" name="Elemental Shield" id="11" to="1011" />
    <item key="130" name="Elemental Shield" id="12" to="1100" />
    <item key="131" name="Elemental Shield" id="13" to="1101" />
    <item key="132" name="Elemental Shield" id="14" to="1110" />
    <item key="133" name="Elemental Shield" id="15" to="1111" />
</root>
XML;

$dom = new DOMDocument();
$dom->loadXML( $items );

$xpath = new DOMXPath( $dom );
$item = $xpath->query( './/item[ @id=07 ]/@to' )->item( 0 );

var_dump( $item->nodeValue ); //0111

Esse foi um exemplo bem específico onde pegamos o atributo to do item que tem o id=07. Agora você pode fazer buscas que retornam mais resultados, por exemplo:

 

$nodes = $xpath->query( './/item[ @key > 130 ]' );

foreach ( $nodes as $node ){
    printf( "O item com o atributo @key=%s tem o atributo @to com o valor: %s\n" , $node->getAttribute( 'key' ) , $node->getAttribute( 'to' ) );
}

A saída será:

O item com o atributo @key=131 tem o atributo @to com o valor: 1101

O item com o atributo @key=132 tem o atributo @to com o valor: 1110

O item com o atributo @key=133 tem o atributo @to com o valor: 1111

 

Ou você pode ainda usar as funções do XPath:

 

$total = $xpath->evaluate( 'count( .//item[ @key >= 120 and @key < 130 ] )' );

printf( 'Existem %d nós com: 120 <= @key < 130.' , $total ); //Existem 10 nós com: 120 <= @key < 130.

Dê uma olhada em:

 

http://www.w3schools...ath/default.asp

http://br.php.net/ma...ss.domxpath.php

Compartilhar este post


Link para o post
Compartilhar em outros sites

Não entendi muito bem como usar amigo, poderia me explicar?

 

De uma olhada em: http://www.w3schools.com/XPath/default.asp

Compartilhar este post


Link para o post
Compartilhar em outros sites

amigo estou usando esse xml que eu mesmo fiz:

 

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type='text/xsl' href='items.xsl'?>
<items creator="[XGS] Migrator : Old (20 Caracteres) -> New (32 Caracteres)" count="413">

	<item key="0" name="Kriss" id="00" to="00" fsf="00AAAAAA00" poss="00000" />
	<item key="1" name="Short Sword" id="01" to="01" fsf="00AAAAAA00" poss="00000" />
	<item key="2" name="Rapier" id="02" to="02" fsf="00AAAAAA00" poss="00000" />
	<item key="3" name="Katache" id="03" to="03" fsf="00AAAAAA00" poss="00000" />
	<item key="4" name="Sword of Assassin" id="04" to="04" fsf="00AAAAAA00" poss="00000" />
	<item key="5" name="Blade" id="05" to="05" fsf="00AAAAAA00" poss="00000" />
	<item key="6" name="Gladius" id="06" to="06" fsf="00AAAAAA00" poss="00000" />
	<item key="7" name="Falchion" id="07" to="07" fsf="00AAAAAA00" poss="00000" />
	<item key="8" name="Serpent Sword" id="08" to="08" fsf="00AAAAAA00" poss="00000" />
	<item key="9" name="Sword of Salamander" id="09" to="09" fsf="00AAAAAA00" poss="00000" />
	<item key="10" name="Light Saber" id="0A" to="0A" fsf="00AAAAAA00" poss="00000" />
	<item key="11" name="Legendary Sword" id="0B" to="0B" fsf="00AAAAAA00" poss="00000" />
	<item key="12" name="Heliacal Sword" id="0C" to="0C" fsf="00AAAAAA00" poss="00000" />
	<item key="13" name="Double Blade" id="0D" to="0D" fsf="00AAAAAA00" poss="00000" />
	<item key="14" name="Lightning Sword" id="0E" to="0E" fsf="00AAAAAA00" poss="00000" />
	<item key="15" name="Giant Sword" id="0F" to="0F" fsf="00AAAAAA00" poss="00000" />
	<item key="16" name="Sword of Destruction" id="10" to="10" fsf="00AAAAAA00" poss="00000" />
	<item key="17" name="Rox Blade" id="11" to="11" fsf="00AAAAAA00" poss="00000" />
	<item key="18" name="Thunder Blade" id="12" to="12" fsf="00AAAAAA00" poss="00000" />
	<item key="19" name="Divine Sword" id="13" to="13" fsf="00AAAAAA00" poss="00000" />
	<item key="20" name="Knight Blade" id="14" to="14" fsf="00AAAAAA00" poss="00000" />
	<item key="21" name="Dark Reign Blade" id="15" to="15" fsf="00AAAAAA00" poss="00000" />
	<item key="22" name="Bone Blade" id="16" to="16" fsf="00AAAAAA00" poss="00000" />
	<item key="23" name="Explosion Blade" id="17" to="17" fsf="00AAAAAA00" poss="00000" />
	<item key="24" name="RoxDay Sword" id="18" to="00" fsf="00AAAAAA00" poss="00000" />
	<item key="25" name="Fury Dancer" id="19" to="00" fsf="00AAAAAA00" poss="00000" />
	<item key="26" name="FlameRox Sword" id="1A" to="00" fsf="00AAAAAA00" poss="00000" />
	<item key="27" name="Sword Breaker" id="1B" to="00" fsf="00AAAAAA00" poss="00000" />
	<item key="28" name="Rox Imperial" id="1C" to="00" fsf="00AAAAAA00" poss="00000" />
	<item key="29" name="Xups Breaker" id="1D" to="00" fsf="00AAAAAA00" poss="00000" />
	<item key="30" name="Soram Hammer" id="1E" to="00" fsf="00AAAAAA00" poss="00000" />
	<item key="31" name="Rune Blade" id="1F" to="1F" fsf="00AAAAAA00" poss="00000" />
	
	<item key="32" name="Small Axe" id="20" to="00" fsf="00AAAAAA00" poss="00001" />
	<item key="33" name="Hand Axe" id="21" to="01" fsf="00AAAAAA00" poss="00001" />
	<item key="34" name="Double Axe" id="22" to="02" fsf="00AAAAAA00" poss="00001" />
	<item key="35" name="Tomahawk" id="23" to="03" fsf="00AAAAAA00" poss="00001" />
	<item key="36" name="Elven Axe" id="24" to="04" fsf="00AAAAAA00" poss="00001" />
	<item key="37" name="Battle Axe" id="25" to="05" fsf="00AAAAAA00" poss="00001" />
	<item key="38" name="Nikea Axe" id="26" to="06" fsf="00AAAAAA00" poss="00001" />
	<item key="39" name="Larkan Axe" id="27" to="07" fsf="00AAAAAA00" poss="00001" />
	<item key="40" name="Crescent Axe" id="28" to="08" fsf="00AAAAAA00" poss="00001" />
	
	<item key="41" name="Mace" id="40" to="00" fsf="00AAAAAA00" poss="00002" />
	<item key="42" name="Morning Star" id="4100" to="01" fsf="00AAAAAA00" poss="00002" />
	<item key="43" name="Flail" id="42" to="02" fsf="00AAAAAA00" poss="00002" />
	<item key="44" name="Great Hammer" id="43" to="03" fsf="00AAAAAA00" poss="00002" />
	<item key="45" name="Crystal Morning Star" id="44" to="04" fsf="00AAAAAA00" poss="00002" />
	<item key="46" name="Crystal Sword" id="45" to="05" fsf="00AAAAAA00" poss="00002" />
	<item key="47" name="Chaos Dragon Axe" id="46" to="06" fsf="00AAAAAA00" poss="00002" />
	
	<item key="48" name="Mace of Kings" id="4D" to="00" fsf="00AAAAAA00" poss="00002" />
	
	<item key="49" name="Battle Scepter" id="48" to="08" fsf="00AAAAAA00" poss="00002" />
	<item key="50" name="Master Scepter" id="49" to="09" fsf="00AAAAAA00" poss="00002" />
	<item key="51" name="Great Scepter" id="4A" to="0A" fsf="00AAAAAA00" poss="00002" />
	<item key="52" name="Lord Scepter" id="4B" to="0B" fsf="00AAAAAA00" poss="00002" />
	<item key="53" name="Great Lord Scepter" id="4C" to="0C" fsf="00AAAAAA00" poss="00002" />
	<item key="54" name="Scepter of Archangel" id="4F" to="0D" fsf="00AAAAAA00" poss="00002" />
	<item key="55" name="Soley Scepter" id="4E" to="0E" fsf="00AAAAAA00" poss="00002" />
	
	<item key="56" name="Light Spear" id="60" to="00" fsf="00AAAAAA00" poss="00003" />
	<item key="57" name="Spear" id="61" to="01" fsf="00AAAAAA00" poss="00003" />
	<item key="58" name="Dragon Lance" id="62" to="02" fsf="00AAAAAA00" poss="00003" />
	<item key="59" name="Great Trident" id="63" to="03" fsf="00AAAAAA00" poss="00003" />
	<item key="60" name="Serpent Spear" id="64" to="04" fsf="00AAAAAA00" poss="00003" />
	<item key="61" name="Double Poleaxe" id="65" to="05" fsf="00AAAAAA00" poss="00003" />
	<item key="62" name="Halberd" id="66" to="06" fsf="00AAAAAA00" poss="00003" />
	<item key="63" name="Berdysh" id="67" to="07" fsf="00AAAAAA00" poss="00003" />
	<item key="64" name="Great Scythe" id="68" to="08" fsf="00AAAAAA00" poss="00003" />
	<item key="65" name="Bill of Balrog" id="69" to="09" fsf="00AAAAAA00" poss="00003" />
	<item key="66" name="Dragon Spear" id="6A" to="0A" fsf="00AAAAAA00" poss="00003" />
	
	<item key="67" name="Short Bow" id="80" to="00" fsf="00AAAAAA00" poss="00004" />
	<item key="68" name="Bow" id="81" to="01" fsf="00AAAAAA00" poss="00004" />
	<item key="69" name="Elven Bow" id="82" to="02" fsf="00AAAAAA00" poss="00004" />
	<item key="70" name="Battle Bow" id="83" to="03" fsf="00AAAAAA00" poss="00004" />
	<item key="71" name="Tiger Bow" id="84" to="04" fsf="00AAAAAA00" poss="00004" />
	<item key="72" name="Silver Bow" id="85" to="05" fsf="00AAAAAA00" poss="00004" />
	<item key="73" name="Chaos Nature Bow" id="86" to="06" fsf="00AAAAAA00" poss="00004" />
	<item key="74" name="Bolt" id="87" to="07" fsf="00AAAAAA00" poss="00004" />
	<item key="75" name="Crossbow" id="88" to="08" fsf="00AAAAAA00" poss="00004" />
	<item key="76" name="Golden Crossbow" id="89" to="09" fsf="00AAAAAA00" poss="00004" />
	<item key="77" name="Arquebus" id="8A" to="0A" fsf="00AAAAAA00" poss="00004" />
	<item key="78" name="Light Crossbow" id="8B" to="0B" fsf="00AAAAAA00" poss="00004" />
	<item key="79" name="Serpent Crossbow" id="8C" to="0C" fsf="00AAAAAA00" poss="00004" />
	<item key="80" name="Bluewing Crossbow" id="8D" to="0D" fsf="00AAAAAA00" poss="00004" />
	<item key="81" name="Aquagold Crossbow" id="8E" to="0E" fsf="00AAAAAA00" poss="00004" />
	<item key="82" name="Arrow" id="8F" to="0F" fsf="00AAAAAA00" poss="00004" />
	<item key="83" name="Saint Crossbow" id="90" to="10" fsf="00AAAAAA00" poss="00004" />
	<item key="84" name="Celestial Bow" id="91" to="11" fsf="00AAAAAA00" poss="00004" />
	<item key="85" name="Divine Crossbow" id="92" to="12" fsf="00AAAAAA00" poss="00004" />
	<item key="86" name="Great Reign Crossbow" id="93" to="13" fsf="00AAAAAA00" poss="00004" />
	<item key="87" name="Arrow Viper Bow" id="94" to="14" fsf="00AAAAAA00" poss="00004" />
	<item key="88" name="Sylph Wind Bow" id="95" to="15" fsf="00AAAAAA00" poss="00004" />
	
	<item key="89" name="Skull Staff" id="A0" to="00" fsf="00AAAAAA00" poss="00005" />
	<item key="90" name="Angelic Staff" id="A1" to="01" fsf="00AAAAAA00" poss="00005" />
	<item key="91" name="Serpent Staff" id="A2" to="02" fsf="00AAAAAA00" poss="00005" />
	<item key="92" name="Thunder Staff" id="A3" to="03" fsf="00AAAAAA00" poss="00005" />
	<item key="93" name="Gorgon Staff" id="A4" to="04" fsf="00AAAAAA00" poss="00005" />
	<item key="94" name="Legendary Staff" id="A5" to="05" fsf="00AAAAAA00" poss="00005" />
	<item key="95" name="Staff of Resurrection" id="A6" to="06" fsf="00AAAAAA00" poss="00005" />
	<item key="96" name="Chaos Lightning Staff" id="A7" to="07" fsf="00AAAAAA00" poss="00005" />
	<item key="97" name="Staff of Destruction" id="A8" to="08" fsf="00AAAAAA00" poss="00005" />
	<item key="98" name="Dragon Soul Staff" id="AA" to="09" fsf="00AAAAAA00" poss="00005" />
	<item key="99" name="Divine Staff" id="A9" to="0A" fsf="00AAAAAA00" poss="00005" />
	<item key="100" name="Staff of Kundun" id="AB" to="0B" fsf="00AAAAAA00" poss="00005" />
	<item key="101" name="Grand Viper Staff" id="AC" to="0C" fsf="00AAAAAA00" poss="00005" />
	
	<item key="102" name="Small Shield" id="C0" to="00" fsf="00AAAAAA00" poss="00006" />
	<item key="103" name="Horn Shield" id="C1" to="01" fsf="00AAAAAA00" poss="00006" />
	<item key="104" name="Kite Shield" id="C2" to="02" fsf="00AAAAAA00" poss="00006" />
	<item key="105" name="Elven Shield" id="C3" to="03" fsf="00AAAAAA00" poss="00006" />
	<item key="106" name="Buckler" id="C4" to="04" fsf="00AAAAAA00" poss="00006" />
	<item key="107" name="Dragon Slayer Shield" id="C5" to="05" fsf="00AAAAAA00" poss="00006" />
	<item key="108" name="Skull Shield" id="C6" to="06" fsf="00AAAAAA00" poss="00006" />
	<item key="109" name="Spiked Shield" id="C7" to="07" fsf="00AAAAAA00" poss="00006" />
	<item key="110" name="Tower Shield" id="C8" to="08" fsf="00AAAAAA00" poss="00006" />
	<item key="111" name="Plate Shield" id="C9" to="09" fsf="00AAAAAA00" poss="00006" />
	<item key="112" name="Large Round Shield" id="CA" to="0A" fsf="00AAAAAA00" poss="00006" />
	<item key="113" name="Serpent Shield" id="CB" to="0B" fsf="00AAAAAA00" poss="00006" />
	<item key="114" name="Bronze Shield" id="CC" to="0C" fsf="00AAAAAA00" poss="00006" />
	<item key="115" name="Dragon Shield" id="CD" to="0D" fsf="00AAAAAA00" poss="00006" />
	<item key="116" name="Legendary Shield" id="CE" to="0E" fsf="00AAAAAA00" poss="00006" />
	<item key="117" name="Grand Soul Shield" id="CF" to="0F" fsf="00AAAAAA00" poss="00006" />
	<item key="118" name="Elemental Shield" id="D0" to="10" fsf="00AAAAAA00" poss="00006" />
	
	<item key="119" name="Bronze Helm" id="E0" to="00" fsf="00AAAAAA00" poss="00007" />
	<item key="120" name="Dragon Helm" id="E1" to="01" fsf="00AAAAAA00" poss="00007" />
	<item key="121" name="Pad Helm" id="E2" to="02" fsf="00AAAAAA00" poss="00007" />
	<item key="122" name="Legendary Helm" id="E3" to="03" fsf="00AAAAAA00" poss="00007" />
	<item key="123" name="Bone Helm" id="E4" to="04" fsf="00AAAAAA00" poss="00007" />
	<item key="124" name="Leather Helm" id="E5" to="05" fsf="00AAAAAA00" poss="00007" />
	<item key="125" name="Scale Helm" id="E6" to="06" fsf="00AAAAAA00" poss="00007" />
	<item key="126" name="Sphinx Helm" id="E7" to="07" fsf="00AAAAAA00" poss="00007" />
	<item key="127" name="Brass Helm" id="E8" to="08" fsf="00AAAAAA00" poss="00007" />
	<item key="128" name="Plate Helm" id="E9" to="09" fsf="00AAAAAA00" poss="00007" />
	<item key="129" name="Vine Helm" id="EA" to="0A" fsf="00AAAAAA00" poss="00007" />
	<item key="130" name="Silk Helm" id="EB" to="0B" fsf="00AAAAAA00" poss="00007" />
	<item key="131" name="Wind Helm" id="EC" to="0C" fsf="00AAAAAA00" poss="00007" />
	<item key="132" name="Spirit Helm" id="ED" to="0D" fsf="00AAAAAA00" poss="00007" />
	<item key="133" name="Guardian Helm" id="EE" to="0E" fsf="00AAAAAA00" poss="00007" />
	<item key="134" name="Black Dragon Helm" id="F0" to="10" fsf="00AAAAAA00" poss="00007" />
	<item key="135" name="Dark Phoenix Helm" id="F1" to="11" fsf="00AAAAAA00" poss="00007" />
	<item key="136" name="Grand Soul Helm" id="F2" to="12" fsf="00AAAAAA00" poss="00007" />
	<item key="137" name="Divine Helm" id="F3" to="13" fsf="00AAAAAA00" poss="00007" />
	<item key="138" name="Great Dragon Helm" id="F5" to="15" fsf="00AAAAAA00" poss="00007" />
	<item key="139" name="Dark Soul Helm" id="F6" to="16" fsf="00AAAAAA00" poss="00007" />
	<item key="140" name="Red Spirit Helm" id="F8" to="18" fsf="00AAAAAA00" poss="00007" />
	<item key="141" name="Light Plate Mask" id="F9" to="19" fsf="00AAAAAA00" poss="00007" />
	<item key="142" name="Adamantine Mask" id="FA" to="1A" fsf="00AAAAAA00" poss="00007" />
	<item key="143" name="Dark Steel Mask" id="FB" to="1B" fsf="00AAAAAA00" poss="00007" />
	<item key="144" name="Dark Master Mask" id="FC" to="1C" fsf="00AAAAAA00" poss="00007" />
	<item key="145" name="Dragon Knight Helm" id="FD" to="1D" fsf="00AAAAAA00" poss="00007" />
	<item key="146" name="Venom Helm" id="FE" to="1E" fsf="00AAAAAA00" poss="00007" />
	<item key="147" name="Sylpidray Helm" id="FF" to="1F" fsf="00AAAAAA00" poss="00007" />
	<item key="148" name="Sunlight Helm" id="E1" to="21" fsf="F9AAAAAA00" poss="00007" />
	<item key="149" name="Ashcrow Helm" id="E2" to="22" fsf="F9AAAAAA00" poss="00007" />
	<item key="150" name="Eclips Helm" id="E3" to="23" fsf="F9AAAAAA00" poss="00007" />	
	<item key="151" name="Iris Helm" id="E4" to="24" fsf="F9AAAAAA00" poss="00007" />
	<item key="152" name="Glorious Helm" id="E6" to="26" fsf="F9AAAAAA00" poss="00007" />
	
	<item key="153" name="Bronze Armor" id="00" to="00" fsf="00AAAAAA80" poss="00008" />
	<item key="154" name="Dragon Armor" id="01" to="01" fsf="00AAAAAA80" poss="00008" />
	<item key="155" name="Pad Armor" id="02" to="02" fsf="00AAAAAA80" poss="00008" />
	<item key="156" name="Legendary Armor" id="03" to="03" fsf="00AAAAAA80" poss="00008" />
	<item key="157" name="Bone Armor" id="04" to="04" fsf="00AAAAAA80" poss="00008" />
	<item key="158" name="Leather Armor" id="05" to="05" fsf="00AAAAAA80" poss="00008" />
	<item key="159" name="Scale Armor" id="06" to="06" fsf="00AAAAAA80" poss="00008" />
	<item key="160" name="Sphinx Armor" id="07" to="07" fsf="00AAAAAA80" poss="00008" />
	<item key="161" name="Brass Armor" id="08" to="08" fsf="00AAAAAA80" poss="00008" />
	<item key="162" name="Plate Armor" id="09" to="09" fsf="00AAAAAA80" poss="00008" />
	<item key="163" name="Vine Armor" id="0A" to="0A" fsf="00AAAAAA80" poss="00008" />
	<item key="164" name="Silk Armor" id="0B" to="0B" fsf="00AAAAAA80" poss="00008" />
	<item key="165" name="Wind Armor" id="0C" to="0C" fsf="00AAAAAA80" poss="00008" />
	<item key="166" name="Spirit Armor" id="0D" to="0D" fsf="00AAAAAA80" poss="00008" />
	<item key="167" name="Guardian Armor" id="0E" to="0E" fsf="00AAAAAA80" poss="00008" />
	<item key="168" name="Black Dragon Armor" id="10" to="10" fsf="00AAAAAA80" poss="00008" />
	<item key="169" name="Dark Phoenix Armor" id="11" to="11" fsf="00AAAAAA80" poss="00008" />
	<item key="170" name="Grand Soul Armor" id="12" to="12" fsf="00AAAAAA80" poss="00008" />
	<item key="171" name="Divine Armor" id="13" to="13" fsf="00AAAAAA80" poss="00008" />
	<item key="172" name="Thunder Hawk Armor" id="14" to="14" fsf="00AAAAAA80" poss="00008" />
	<item key="173" name="Great Dragon Armor" id="15" to="15" fsf="00AAAAAA80" poss="00008" />
	<item key="174" name="Dark Soul Armor" id="16" to="16" fsf="00AAAAAA80" poss="00008" />
	<item key="175" name="Hurricane Armor" id="17" to="17" fsf="00AAAAAA80" poss="00008" />
	<item key="176" name="Red Spirit Armor" id="18" to="18" fsf="00AAAAAA80" poss="00008" />
	<item key="177" name="Light Plate Armor" id="19" to="19" fsf="00AAAAAA80" poss="00008" />
	<item key="178" name="Adamantine Armor" id="1A" to="1A" fsf="00AAAAAA80" poss="00008" />
	<item key="179" name="Dark Steel Armor" id="1B" to="1B" fsf="00AAAAAA80" poss="00008" />
	<item key="180" name="Dark Master Armor" id="1C" to="1C" fsf="00AAAAAA80" poss="00008" />
	<item key="181" name="Dragon Knight Armor" id="1D" to="1D" fsf="00AAAAAA80" poss="00008" />
	<item key="182" name="Venom Armor" id="1E" to="1E" fsf="00AAAAAA80" poss="00008" />
	<item key="183" name="Sylpidray Armor" id="1F" to="1F" fsf="00AAAAAA80" poss="00008" />
	<item key="184" name="Volcano Armor" id="00" to="20" fsf="F9AAAAAA80" poss="00008" />
	<item key="185" name="Sunlight Armor" id="01" to="21" fsf="F9AAAAAA80" poss="00008" />
	<item key="186" name="Ashcrow Armor" id="02" to="22" fsf="F9AAAAAA80" poss="00008" />
	<item key="187" name="Eclips Armor" id="03" to="23" fsf="F9AAAAAA80" poss="00008" />	
	<item key="188" name="Iris Armor" id="04" to="24" fsf="F9AAAAAA80" poss="00008" />
	<item key="189" name="Valiant Armor" id="05" to="25" fsf="F9AAAAAA80" poss="00008" />
	<item key="190" name="Glorious Armor" id="06" to="26" fsf="F9AAAAAA80" poss="00008" />
	
	<item key="191" name="Bronze Pants" id="20" to="00" fsf="00AAAAAA80" poss="00009" />
	<item key="192" name="Dragon Pants" id="21" to="01" fsf="00AAAAAA80" poss="00009" />
	<item key="193" name="Pad Pants" id="22" to="02" fsf="00AAAAAA80" poss="00009" />
	<item key="194" name="Legendary Pants" id="23" to="03" fsf="00AAAAAA80" poss="00009" />
	<item key="195" name="Bone Pants" id="24" to="04" fsf="00AAAAAA80" poss="00009" />
	<item key="196" name="Leather Pants" id="25" to="05" fsf="00AAAAAA80" poss="00009" />
	<item key="197" name="Scale Pants" id="26" to="06" fsf="00AAAAAA80" poss="00009" />
	<item key="198" name="Sphinx Pants" id="27" to="07" fsf="00AAAAAA80" poss="00009" />
	<item key="199" name="Brass Pants" id="28" to="08" fsf="00AAAAAA80" poss="00009" />
	<item key="200" name="Plate Pants" id="29" to="09" fsf="00AAAAAA80" poss="00009" />
	<item key="201" name="Vine Pants" id="2A" to="0A" fsf="00AAAAAA80" poss="00009" />
	<item key="202" name="Silk Pants" id="2B" to="0B" fsf="00AAAAAA80" poss="00009" />
	<item key="203" name="Wind Pants" id="2C" to="0C" fsf="00AAAAAA80" poss="00009" />
	<item key="204" name="Spirit Pants" id="2D" to="0D" fsf="00AAAAAA80" poss="00009" />
	<item key="205" name="Guardian Pants" id="2E" to="0E" fsf="00AAAAAA80" poss="00009" />
	<item key="206" name="Black Dragon Pants" id="30" to="10" fsf="00AAAAAA80" poss="00009" />
	<item key="207" name="Dark Phoenix Pants" id="31" to="11" fsf="00AAAAAA80" poss="00009" />
	<item key="208" name="Grand Soul Pants" id="32" to="12" fsf="00AAAAAA80" poss="00009" />
	<item key="209" name="Divine Pants" id="33" to="13" fsf="00AAAAAA80" poss="00009" />
	<item key="210" name="Thunder Hawk Pants" id="34" to="14" fsf="00AAAAAA80" poss="00009" />
	<item key="211" name="Great Dragon Pants" id="35" to="15" fsf="00AAAAAA80" poss="00009" />
	<item key="212" name="Dark Soul Pants" id="36" to="16" fsf="00AAAAAA80" poss="00009" />
	<item key="213" name="Hurricane Pants" id="37" to="17" fsf="00AAAAAA80" poss="00009" />
	<item key="214" name="Red Spirit Pants" id="38" to="18" fsf="00AAAAAA80" poss="00009" />
	<item key="215" name="Light Plate Pants" id="39" to="19" fsf="00AAAAAA80" poss="00009" />
	<item key="216" name="Adamantine Pants" id="3A" to="1A" fsf="00AAAAAA80" poss="00009" />
	<item key="217" name="Dark Steel Pants" id="3B" to="1B" fsf="00AAAAAA80" poss="00009" />
	<item key="218" name="Dark Master Pants" id="3C" to="1C" fsf="00AAAAAA80" poss="00009" />
	<item key="219" name="Dragon Knight Pants" id="3D" to="1D" fsf="00AAAAAA80" poss="00009" />
	<item key="220" name="Venom Pants" id="3E" to="1E" fsf="00AAAAAA80" poss="00009" />
	<item key="221" name="Sylpidray Pants" id="3F" to="1F" fsf="00AAAAAA80" poss="00009" />
	<item key="222" name="Volcano Pants" id="20" to="20" fsf="F9AAAAAA80" poss="00009" />
	<item key="223" name="Sunlight Pants" id="21" to="21" fsf="F9AAAAAA80" poss="00009" />
	<item key="224" name="Ashcrow Pants" id="22" to="22" fsf="F9AAAAAA80" poss="00009" />
	<item key="225" name="Eclips Pants" id="23" to="23" fsf="F9AAAAAA80" poss="00009" />	
	<item key="226" name="Iris Pants" id="24" to="24" fsf="F9AAAAAA80" poss="00009" />
	<item key="227" name="Valiant Pants" id="25" to="25" fsf="F9AAAAAA80" poss="00009" />
	<item key="228" name="Glorious Pants" id="26" to="26" fsf="F9AAAAAA80" poss="00009" />
	
	<item key="229" name="Bronze Gloves" id="40" to="00" fsf="00AAAAAA80" poss="0000A" />
	<item key="230" name="Dragon Gloves" id="41" to="01" fsf="00AAAAAA80" poss="0000A" />
	<item key="231" name="Pad Gloves" id="42" to="02" fsf="00AAAAAA80" poss="0000A" />
	<item key="232" name="Legendary Gloves" id="43" to="03" fsf="00AAAAAA80" poss="0000A" />
	<item key="233" name="Bone Gloves" id="44" to="04" fsf="00AAAAAA80" poss="0000A" />
	<item key="234" name="Leather Gloves" id="45" to="05" fsf="00AAAAAA80" poss="0000A" />
	<item key="235" name="Scale Gloves" id="46" to="06" fsf="00AAAAAA80" poss="0000A" />
	<item key="236" name="Sphinx Gloves" id="47" to="07" fsf="00AAAAAA80" poss="0000A" />
	<item key="237" name="Brass Gloves" id="48" to="08" fsf="00AAAAAA80" poss="0000A" />
	<item key="238" name="Plate Gloves" id="49" to="09" fsf="00AAAAAA80" poss="0000A" />
	<item key="239" name="Vine Gloves" id="4A" to="0A" fsf="00AAAAAA80" poss="0000A" />
	<item key="240" name="Silk Gloves" id="4B" to="0B" fsf="00AAAAAA80" poss="0000A" />
	<item key="241" name="Wind Gloves" id="4C" to="0C" fsf="00AAAAAA80" poss="0000A" />
	<item key="242" name="Spirit Gloves" id="4D" to="0D" fsf="00AAAAAA80" poss="0000A" />
	<item key="243" name="Guardian Gloves" id="4E" to="0E" fsf="00AAAAAA80" poss="0000A" />
	<item key="244" name="Black Dragon Gloves" id="50" to="10" fsf="00AAAAAA80" poss="0000A" />
	<item key="245" name="Dark Phoenix Gloves" id="51" to="11" fsf="00AAAAAA80" poss="0000A" />
	<item key="246" name="Grand Soul Gloves" id="52" to="12" fsf="00AAAAAA80" poss="0000A" />
	<item key="247" name="Divine Gloves" id="53" to="13" fsf="00AAAAAA80" poss="0000A" />
	<item key="248" name="Thunder Hawk Gloves" id="54" to="14" fsf="00AAAAAA80" poss="0000A" />
	<item key="249" name="Great Dragon Gloves" id="55" to="15" fsf="00AAAAAA80" poss="0000A" />
	<item key="250" name="Dark Soul Gloves" id="56" to="16" fsf="00AAAAAA80" poss="0000A" />
	<item key="251" name="Hurricane Gloves" id="57" to="17" fsf="00AAAAAA80" poss="0000A" />
	<item key="252" name="Red Spirit Gloves" id="58" to="18" fsf="00AAAAAA80" poss="0000A" />
	<item key="253" name="Light Plate Gloves" id="59" to="19" fsf="00AAAAAA80" poss="0000A" />
	<item key="254" name="Adamantine Gloves" id="5A" to="1A" fsf="00AAAAAA80" poss="0000A" />
	<item key="255" name="Dark Steel Gloves" id="5B" to="1B" fsf="00AAAAAA80" poss="0000A" />
	<item key="256" name="Dark Master Gloves" id="5C" to="1C" fsf="00AAAAAA80" poss="0000A" />
	<item key="257" name="Dragon Knight Gloves" id="5D" to="1D" fsf="00AAAAAA80" poss="0000A" />
	<item key="258" name="Venom Gloves" id="5E" to="1E" fsf="00AAAAAA80" poss="0000A" />
	<item key="259" name="Sylpidray Gloves" id="5F" to="1F" fsf="00AAAAAA80" poss="0000A" />
	<item key="260" name="Volcano Gloves" id="40" to="20" fsf="F9AAAAAA80" poss="0000A" />
	<item key="261" name="Sunlight Gloves" id="41" to="21" fsf="F9AAAAAA80" poss="0000A" />
	<item key="262" name="Ashcrow Gloves" id="42" to="22" fsf="F9AAAAAA80" poss="0000A" />
	<item key="263" name="Eclips Gloves" id="43" to="23" fsf="F9AAAAAA80" poss="0000A" />	
	<item key="264" name="Iris Gloves" id="44" to="24" fsf="F9AAAAAA80" poss="0000A" />
	<item key="265" name="Valiant Gloves" id="45" to="25" fsf="F9AAAAAA80" poss="0000A" />
	<item key="266" name="Glorious Gloves" id="46" to="26" fsf="F9AAAAAA80" poss="0000A" />
	
	<item key="267" name="Bronze Boots" id="60" to="00" fsf="00AAAAAA80" poss="0000B" />
	<item key="268" name="Dragon Boots" id="61" to="01" fsf="00AAAAAA80" poss="0000B" />
	<item key="269" name="Pad Boots" id="62" to="02" fsf="00AAAAAA80" poss="0000B" />
	<item key="270" name="Legendary Boots" id="63" to="03" fsf="00AAAAAA80" poss="0000B" />
	<item key="271" name="Bone Boots" id="64" to="04" fsf="00AAAAAA80" poss="0000B" />
	<item key="272" name="Leather Boots" id="65" to="05" fsf="00AAAAAA80" poss="0000B" />
	<item key="273" name="Scale Boots" id="66" to="06" fsf="00AAAAAA80" poss="0000B" />
	<item key="274" name="Sphinx Boots" id="67" to="07" fsf="00AAAAAA80" poss="0000B" />
	<item key="275" name="Brass Boots" id="68" to="08" fsf="00AAAAAA80" poss="0000B" />
	<item key="276" name="Plate Boots" id="69" to="09" fsf="00AAAAAA80" poss="0000B" />
	<item key="277" name="Vine Boots" id="6A" to="0A" fsf="00AAAAAA80" poss="0000B" />
	<item key="278" name="Silk Boots" id="6B" to="0B" fsf="00AAAAAA80" poss="0000B" />
	<item key="279" name="Wind Boots" id="6C" to="0C" fsf="00AAAAAA80" poss="0000B" />
	<item key="280" name="Spirit Boots" id="6D" to="0D" fsf="00AAAAAA80" poss="0000B" />
	<item key="281" name="Guardian Boots" id="6E" to="0E" fsf="00AAAAAA80" poss="0000B" />
	<item key="282" name="Black Dragon Boots" id="70" to="10" fsf="00AAAAAA80" poss="0000B" />
	<item key="283" name="Dark Phoenix Boots" id="71" to="11" fsf="00AAAAAA80" poss="0000B" />
	<item key="284" name="Grand Soul Boots" id="72" to="12" fsf="00AAAAAA80" poss="0000B" />
	<item key="285" name="Divine Boots" id="73" to="13" fsf="00AAAAAA80" poss="0000B" />
	<item key="286" name="Thunder Hawk Boots" id="74" to="14" fsf="00AAAAAA80" poss="0000B" />
	<item key="287" name="Great Dragon Boots" id="75" to="15" fsf="00AAAAAA80" poss="0000B" />
	<item key="288" name="Dark Soul Boots" id="76" to="16" fsf="00AAAAAA80" poss="0000B" />
	<item key="289" name="Hurricane Boots" id="77" to="17" fsf="00AAAAAA80" poss="0000B" />
	<item key="290" name="Red Spirit Boots" id="78" to="18" fsf="00AAAAAA80" poss="0000B" />
	<item key="291" name="Light Plate Boots" id="79" to="19" fsf="00AAAAAA80" poss="0000B" />
	<item key="292" name="Adamantine Boots" id="7A" to="1A" fsf="00AAAAAA80" poss="0000B" />
	<item key="293" name="Dark Steel Boots" id="7B" to="1B" fsf="00AAAAAA80" poss="0000B" />
	<item key="294" name="Dark Master Boots" id="7C" to="1C" fsf="00AAAAAA80" poss="0000B" />
	<item key="295" name="Dragon Knight Boots" id="7D" to="1D" fsf="00AAAAAA80" poss="0000B" />
	<item key="296" name="Venom Boots" id="7E" to="1E" fsf="00AAAAAA80" poss="0000B" />
	<item key="297" name="Sylpidray Boots" id="7F" to="1F" fsf="00AAAAAA80" poss="0000B" />
	<item key="298" name="Volcano Boots" id="60" to="20" fsf="F9AAAAAA80" poss="0000B" />
	<item key="299" name="Sunlight Boots" id="61" to="21" fsf="F9AAAAAA80" poss="0000B" />
	<item key="300" name="Ashcrow Boots" id="62" to="22" fsf="F9AAAAAA80" poss="0000B" />
	<item key="301" name="Eclips Boots" id="63" to="23" fsf="F9AAAAAA80" poss="0000B" />	
	<item key="302" name="Iris Boots" id="64" to="24" fsf="F9AAAAAA80" poss="0000B" />
	<item key="303" name="Valiant Boots" id="65" to="25" fsf="F9AAAAAA80" poss="0000B" />
	<item key="304" name="Glorious Boots" id="66" to="26" fsf="F9AAAAAA80" poss="0000B" />

	<item key="305" name="Wings of Elf" id="80" to="00" fsf="00AAAAAA80" poss="0000C" />
	<item key="306" name="Wings of Heaven" id="81" to="01" fsf="00AAAAAA80" poss="0000C" />
	<item key="307" name="Wings of Satan" id="82" to="02" fsf="00AAAAAA80" poss="0000C" />
	<item key="308" name="Wings of Spirits" id="83" to="03" fsf="00AAAAAA80" poss="0000C" />
	<item key="309" name="Wings of Soul" id="84" to="04" fsf="00AAAAAA80" poss="0000C" />
	<item key="310" name="Wings of Dragon" id="85" to="05" fsf="00AAAAAA80" poss="0000C" />
	<item key="311" name="Wings of Darkness" id="86" to="06" fsf="00AAAAAA80" poss="0000C" />
	
	<item key="312" name="Orb of Twisting Slash" id="87" to="07" fsf="00AAAAAA80" poss="0000C" />
	<item key="313" name="Orb of Healing" id="88" to="08" fsf="00AAAAAA80" poss="0000C" />
	<item key="314" name="Orb of Greater Defence" id="89" to="09" fsf="00AAAAAA80" poss="0000C" />
	<item key="315" name="Orb of Greater Damage" id="8A" to="0A" fsf="00AAAAAA80" poss="0000C" />
	<item key="316" name="Orb of Summoning" id="8B" to="0B" fsf="00AAAAAA80" poss="0000C" />
	<item key="317" name="Orb of Hell Blast" id="8C" to="0C" fsf="00AAAAAA80" poss="0000C" />
	<item key="318" name="Orb of Fury of Light" id="8D" to="0D" fsf="00AAAAAA80" poss="0000C" />
	<item key="319" name="Orb of Inner Strength" id="8E" to="0E" fsf="00AAAAAA80" poss="0000C" />
	
	<item key="320" name="Jewel of Chaos" id="8F" to="0F" fsf="00AAAAAA80" poss="0000C" />
	
	<item key="321" name="Orb of Fireslash" id="90" to="10" fsf="00AAAAAA80" poss="0000C" />
	<item key="322" name="Orb of Penetration" id="91" to="11" fsf="00AAAAAA80" poss="0000C" />
	<item key="323" name="Orb of Freezing Arrow" id="92" to="12" fsf="00AAAAAA80" poss="0000C" />
	<item key="324" name="Orb of Death Stab" id="93" to="13" fsf="00AAAAAA80" poss="0000C" />
	
	<item key="325" name="Scroll of Fireburst" id="94" to="15" fsf="00AAAAAA80" poss="0000C" />
	<item key="326" name="Scroll of Summon" id="95" to="16" fsf="00AAAAAA80" poss="0000C" />
	<item key="327" name="Scroll of Add Critical DMG" id="96" to="17" fsf="00AAAAAA80" poss="0000C" />
	<item key="328" name="Scroll of Electric Spark" id="97" to="18" fsf="00AAAAAA80" poss="0000C" />
		
	<item key="329" name="Potion of Bless" id="1E" to="0700" fsf="00AAAAAA80" poss="0000E" />
	<item key="330" name="Potion of Soul" id="1F" to="0708" fsf="00AAAAAA80" poss="0000E" />
	
	<item key="331" name="Guardian Angel" id="A0" to="00" fsf="00AAAAAA80" poss="0000D" />
	<item key="332" name="Satan" id="A1" to="01" fsf="00AAAAAA80" poss="0000D" />
	<item key="333" name="Horn of Unilia" id="A2" to="02" fsf="00AAAAAA80" poss="0000D" />
	<item key="334" name="Dinorant" id="A3" to="03" fsf="00AAAAAA80" poss="0000D" />
	<item key="335" name="Dark Horse" id="A4" to="04" fsf="00AAAAAA80" poss="0000D" />
	<item key="336" name="Dark Raven" id="A5" to="05" fsf="00AAAAAA80" poss="0000D" />
	
	<item key="337" name="Contract (Summon)" id="A7" to="00" fsf="00AAAAAA80" poss="00000" />
	
	<item key="338" name="Ring of Ice" id="A8" to="08" fsf="00AAAAAA80" poss="0000D" />
	<item key="339" name="Ring of Poison" id="A9" to="09" fsf="00AAAAAA80" poss="0000D" />
	<item key="340" name="Ring of Transformation" id="AA" to="0A" fsf="00AAAAAA80" poss="0000D" />
	
	<item key="341" name="Orb of Resurrection" id="AB" to="0B" fsf="00AAAAAA80" poss="00000" />
	
	<item key="342" name="Pendant of Lightning" id="AC" to="0C" fsf="00AAAAAA80" poss="0000D" />
	<item key="343" name="Pendant of Fire" id="AD" to="0D" fsf="00AAAAAA80" poss="0000D" />
	
	<item key="344" name="Blue Feather" id="AE" to="0E" fsf="00AAAAAA80" poss="00000" />
	<item key="345" name="Fruit" id="AF" to="00" fsf="00AAAAAA80" poss="00000" />
	<item key="346" name="Blood Scroll" id="00" to="00" fsf="00AAAAAA80" poss="00000" />
	<item key="347" name="Blood Fang" id="00" to="00" fsf="00AAAAAA80" poss="00000" />
	<item key="348" name="Invisibility Cloak" id="B2" to="00" fsf="00AAAAAA80" poss="00000" />
	<item key="349" name="Divine Weapon of Archangel" id="B3" to="00" fsf="00AAAAAA80" poss="00000" />
	
	<item key="350" name="Ring of Wizardy" id="B4" to="14" fsf="00AAAAAA80" poss="0000E" />
	<item key="351" name="Ring Of Fire" id="B5" to="15" fsf="00AAAAAA80" poss="0000E" />
	<item key="352" name="Ring Of Earth" id="B6" to="16" fsf="00AAAAAA80" poss="0000E" />
	<item key="353" name="Ring Of Wind" id="B7" to="17" fsf="00AAAAAA80" poss="0000E" />
	<item key="354" name="Ring Of Magic" id="B8" to="18" fsf="00AAAAAA80" poss="0000E" />
	<item key="355" name="Pendant of Ice" id="B9" to="19" fsf="00AAAAAA80" poss="0000D" />
	<item key="356" name="Pendant of Wind" id="BA" to="1A" fsf="00AAAAAA80" poss="0000D" />
	<item key="357" name="Pendant of Water" id="BB" to="1B" fsf="00AAAAAA80" poss="0000D" />
	<item key="358" name="Pendant of Ability" id="BC" to="1C" fsf="00AAAAAA80" poss="0000D" />
	
	<item key="359" name="Armor of Guardian" id="BD" to="00" fsf="00AAAAAA80" poss="00000" />
	<item key="360" name="Cape of lord" id="BE" to="1E" fsf="00AAAAAA80" poss="0000D" />
	<item key="361" name="Spirit" id="BF" to="00" fsf="00AAAAAA80" poss="00000" />
	<item key="362" name="Fenrir" id="00" to="25" fsf="00AAAAAA80" poss="00000" />
	
	<item key="363" name="Apple" id="C0" to="00" fsf="00AAAAAA80" poss="0000E" />
	<item key="364" name="Small Healing Potion" id="C1" to="01" fsf="00AAAAAA80" poss="0000E" />
	<item key="365" name="Healing Potion" id="C2" to="02" fsf="00AAAAAA80" poss="0000E" />
	<item key="366" name="Large Healing Potion" id="C3" to="03" fsf="00AAAAAA80" poss="0000E" />
	<item key="367" name="Small Mana Potion" id="C4" to="04" fsf="00AAAAAA80" poss="0000E" />
	<item key="368" name="Mana Potion" id="C5" to="05" fsf="00AAAAAA80" poss="0000E" />
	<item key="369" name="Large Mana Potion" id="C6" to="06" fsf="00AAAAAA80" poss="0000E" />
	<item key="370" name="Siege Potion" id="C7" to="07" fsf="00AAAAAA80" poss="0000E" />
	<item key="371" name="Antidote" id="C8" to="08" fsf="00AAAAAA80" poss="0000E" />
	<item key="372" name="Ale" id="C9" to="09" fsf="00AAAAAA80" poss="0000E" />
	<item key="373" name="Town Teleport" id="CA" to="0A" fsf="00AAAAAA80" poss="00000" />
	<item key="374" name="Box of Luck" id="CB" to="0B" fsf="00AAAAAA80" poss="00000" />
	<item key="375" name="Heart" id="CC" to="0C" fsf="00AAAAAA80" poss="00000" />
	
	<item key="376" name="Jewel of Bless" id="CD" to="0D" fsf="00AAAAAA80" poss="0000C" />
	<item key="377" name="Jewel of Soul" id="CE" to="0E" fsf="00AAAAAA80" poss="0000C" />
	
	<item key="378" name="Zen" id="CF" to="0F" fsf="00AAAAAA80" poss="0000E" />
	
	<item key="379" name="Jewel of Life" id="D0" to="10" fsf="00AAAAAA80" poss="0000E" />
	
	<item key="380" name="Devil's Eye" id="D1" to="11" fsf="00AAAAAA80" poss="00000" />
	<item key="381" name="Devil's Key" id="D2" to="12" fsf="00AAAAAA80" poss="00000" />
	<item key="382" name="Ticket to Devil Square" id="D3" to="13" fsf="00AAAAAA80" poss="00000" />
	<item key="383" name="Remedy of Love" id="D4" to="14" fsf="00AAAAAA80" poss="00000" />
	<item key="384" name="Rena" id="D5" to="15" fsf="00AAAAAA80" poss="00000" />
	<item key="385" name="Jewel of Creation" id="D6" to="16" fsf="00AAAAAA80" poss="0000E" />
	<item key="386" name="Scroll of the Emperor" id="D7" to="17" fsf="00AAAAAA80" poss="00000" />
	<item key="387" name="Broken Sword" id="D8" to="18" fsf="00AAAAAA80" poss="00000" />
	<item key="388" name="Tear of Elf" id="D9" to="19" fsf="00AAAAAA80" poss="00000" />
	<item key="389" name="Soul of Wizard" id="DA" to="1A" fsf="00AAAAAA80" poss="00000" />
	<item key="390" name="Ancient Metal" id="DB" to="1B" fsf="00AAAAAA80" poss="00000" />
	<item key="391" name="Lost Map" id="DC" to="1C" fsf="00AAAAAA80" poss="00000" />
	<item key="392" name="Sign Of Kundun" id="DD" to="1D" fsf="00AAAAAA80" poss="00000" />
	
	<item key="393" name="Jewel of Guardian" id="DF" to="1F" fsf="00AAAAAA80" poss="0000E" />
	
	<item key="394" name="Scroll of Poison" id="E0" to="00" fsf="00AAAAAA80" poss="0000F" />
	<item key="395" name="Scroll of Meteorite" id="E1" to="01" fsf="00AAAAAA80" poss="0000F" />
	<item key="396" name="Scroll of Lightning" id="E2" to="02" fsf="00AAAAAA80" poss="0000F" />
	<item key="397" name="Scroll of Fire Ball" id="E3" to="03" fsf="00AAAAAA80" poss="0000F" />
	<item key="398" name="Scroll of Flame" id="E4" to="04" fsf="00AAAAAA80" poss="0000F" />
	<item key="399" name="Scroll of Teleport" id="E5" to="05" fsf="00AAAAAA80" poss="0000F" />
	<item key="400" name="Scroll of Ice" id="E6" to="06" fsf="00AAAAAA80" poss="0000F" />
	<item key="401" name="Scroll of Twister" id="E7" to="07" fsf="00AAAAAA80" poss="0000F" />
	<item key="402" name="Scroll of Evil Spirits" id="E8" to="08" fsf="00AAAAAA80" poss="0000F" />
	<item key="403" name="Scroll of Hell Fire" id="E9" to="09" fsf="00AAAAAA80" poss="0000F" />
	<item key="404" name="Scroll of Power Wave" id="EA" to="0A" fsf="00AAAAAA80" poss="0000F" />
	<item key="405" name="Scroll of Aqua Beam" id="EB" to="0B" fsf="00AAAAAA80" poss="0000F" />
	<item key="406" name="Scroll of Blast" id="EC" to="0C" fsf="00AAAAAA80" poss="0000F" />
	<item key="407" name="Scroll of Inferno" id="ED" to="0D" fsf="00AAAAAA80" poss="0000F" />
	<item key="408" name="Scroll of Mass Teleport" id="EE" to="0E" fsf="00AAAAAA80" poss="0000F" />
	<item key="409" name="Scroll of Soul Barrier" id="EF" to="0F" fsf="00AAAAAA80" poss="0000F" />
	<item key="410" name="Scroll of Decay" id="F0" to="10" fsf="00AAAAAA80" poss="0000F" />
	<item key="411" name="Scroll of Ice Storm" id="F1" to="11" fsf="00AAAAAA80" poss="0000F" />
	<item key="412" name="Scroll of Nova" id="F2" to="12" fsf="00AAAAAA80" poss="0000F" />
	
</items>

como faço para pegar os valores to, fsf e poss de um determinado item localizando ele pelo id?

so preciso disso grato.

 

não entendi como usar oque você postou e no site não achei nada.

Grato.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Boa tarde,

queria saber como faço para passar um xml para tabelas no mysql.

 

grato.

 

abaixo meu xml:

 

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type='text/xsl' href='items.xsl'?>
<items creator="[XGS] Migrator : Old (20 Caracteres) -> New (32 Caracteres)" count="413">

	<item keyx="0" name="Kriss" id="00" to="00" fsf="00AAAAAA00" poss="00000" />
	<item keyx="1" name="Short Sword" id="01" to="01" fsf="00AAAAAA00" poss="00000" />
	<item keyx="2" name="Rapier" id="02" to="02" fsf="00AAAAAA00" poss="00000" />
	<item keyx="3" name="Katache" id="03" to="03" fsf="00AAAAAA00" poss="00000" />
	<item keyx="4" name="Sword of Assassin" id="04" to="04" fsf="00AAAAAA00" poss="00000" />
	<item keyx="5" name="Blade" id="05" to="05" fsf="00AAAAAA00" poss="00000" />
	<item keyx="6" name="Gladius" id="06" to="06" fsf="00AAAAAA00" poss="00000" />
	<item keyx="7" name="Falchion" id="07" to="07" fsf="00AAAAAA00" poss="00000" />
	<item keyx="8" name="Serpent Sword" id="08" to="08" fsf="00AAAAAA00" poss="00000" />
	<item keyx="9" name="Sword of Salamander" id="09" to="09" fsf="00AAAAAA00" poss="00000" />
	<item keyx="10" name="Light Saber" id="0A" to="0A" fsf="00AAAAAA00" poss="00000" />
	<item keyx="11" name="Legendary Sword" id="0B" to="0B" fsf="00AAAAAA00" poss="00000" />
	<item keyx="12" name="Heliacal Sword" id="0C" to="0C" fsf="00AAAAAA00" poss="00000" />
	<item keyx="13" name="Double Blade" id="0D" to="0D" fsf="00AAAAAA00" poss="00000" />
	<item keyx="14" name="Lightning Sword" id="0E" to="0E" fsf="00AAAAAA00" poss="00000" />
	<item keyx="15" name="Giant Sword" id="0F" to="0F" fsf="00AAAAAA00" poss="00000" />
	<item keyx="16" name="Sword of Destruction" id="10" to="10" fsf="00AAAAAA00" poss="00000" />
	<item keyx="17" name="Rox Blade" id="11" to="11" fsf="00AAAAAA00" poss="00000" />
	<item keyx="18" name="Thunder Blade" id="12" to="12" fsf="00AAAAAA00" poss="00000" />
	<item keyx="19" name="Divine Sword" id="13" to="13" fsf="00AAAAAA00" poss="00000" />
	<item keyx="20" name="Knight Blade" id="14" to="14" fsf="00AAAAAA00" poss="00000" />
	<item keyx="21" name="Dark Reign Blade" id="15" to="15" fsf="00AAAAAA00" poss="00000" />
	<item keyx="22" name="Bone Blade" id="16" to="16" fsf="00AAAAAA00" poss="00000" />
	<item keyx="23" name="Explosion Blade" id="17" to="17" fsf="00AAAAAA00" poss="00000" />
	<item keyx="24" name="RoxDay Sword" id="18" to="00" fsf="00AAAAAA00" poss="00000" />
	<item keyx="25" name="Fury Dancer" id="19" to="00" fsf="00AAAAAA00" poss="00000" />
	<item keyx="26" name="FlameRox Sword" id="1A" to="00" fsf="00AAAAAA00" poss="00000" />
	<item keyx="27" name="Sword Breaker" id="1B" to="00" fsf="00AAAAAA00" poss="00000" />
	<item keyx="28" name="Rox Imperial" id="1C" to="00" fsf="00AAAAAA00" poss="00000" />
	<item keyx="29" name="Xups Breaker" id="1D" to="00" fsf="00AAAAAA00" poss="00000" />
	<item keyx="30" name="Soram Hammer" id="1E" to="00" fsf="00AAAAAA00" poss="00000" />
	<item keyx="31" name="Rune Blade" id="1F" to="1F" fsf="00AAAAAA00" poss="00000" />
	
	<item keyx="32" name="Small Axe" id="20" to="00" fsf="00AAAAAA00" poss="00001" />
	<item keyx="33" name="Hand Axe" id="21" to="01" fsf="00AAAAAA00" poss="00001" />
	<item keyx="34" name="Double Axe" id="22" to="02" fsf="00AAAAAA00" poss="00001" />
	<item keyx="35" name="Tomahawk" id="23" to="03" fsf="00AAAAAA00" poss="00001" />
	<item keyx="36" name="Elven Axe" id="24" to="04" fsf="00AAAAAA00" poss="00001" />
	<item keyx="37" name="Battle Axe" id="25" to="05" fsf="00AAAAAA00" poss="00001" />
	<item keyx="38" name="Nikea Axe" id="26" to="06" fsf="00AAAAAA00" poss="00001" />
	<item keyx="39" name="Larkan Axe" id="27" to="07" fsf="00AAAAAA00" poss="00001" />
	<item keyx="40" name="Crescent Axe" id="28" to="08" fsf="00AAAAAA00" poss="00001" />
	
	<item keyx="41" name="Mace" id="40" to="00" fsf="00AAAAAA00" poss="00002" />
	<item keyx="42" name="Morning Star" id="4100" to="01" fsf="00AAAAAA00" poss="00002" />
	<item keyx="43" name="Flail" id="42" to="02" fsf="00AAAAAA00" poss="00002" />
	<item keyx="44" name="Great Hammer" id="43" to="03" fsf="00AAAAAA00" poss="00002" />
	<item keyx="45" name="Crystal Morning Star" id="44" to="04" fsf="00AAAAAA00" poss="00002" />
	<item keyx="46" name="Crystal Sword" id="45" to="05" fsf="00AAAAAA00" poss="00002" />
	<item keyx="47" name="Chaos Dragon Axe" id="46" to="06" fsf="00AAAAAA00" poss="00002" />
	
	<item keyx="48" name="Mace of Kings" id="4D" to="00" fsf="00AAAAAA00" poss="00002" />
	
	<item keyx="49" name="Battle Scepter" id="48" to="08" fsf="00AAAAAA00" poss="00002" />
	<item keyx="50" name="Master Scepter" id="49" to="09" fsf="00AAAAAA00" poss="00002" />
	<item keyx="51" name="Great Scepter" id="4A" to="0A" fsf="00AAAAAA00" poss="00002" />
	<item keyx="52" name="Lord Scepter" id="4B" to="0B" fsf="00AAAAAA00" poss="00002" />
	<item keyx="53" name="Great Lord Scepter" id="4C" to="0C" fsf="00AAAAAA00" poss="00002" />
	<item keyx="54" name="Scepter of Archangel" id="4F" to="0D" fsf="00AAAAAA00" poss="00002" />
	<item keyx="55" name="Soley Scepter" id="4E" to="0E" fsf="00AAAAAA00" poss="00002" />
	
	<item keyx="56" name="Light Spear" id="60" to="00" fsf="00AAAAAA00" poss="00003" />
	<item keyx="57" name="Spear" id="61" to="01" fsf="00AAAAAA00" poss="00003" />
	<item keyx="58" name="Dragon Lance" id="62" to="02" fsf="00AAAAAA00" poss="00003" />
	<item keyx="59" name="Great Trident" id="63" to="03" fsf="00AAAAAA00" poss="00003" />
	<item keyx="60" name="Serpent Spear" id="64" to="04" fsf="00AAAAAA00" poss="00003" />
	<item keyx="61" name="Double Poleaxe" id="65" to="05" fsf="00AAAAAA00" poss="00003" />
	<item keyx="62" name="Halberd" id="66" to="06" fsf="00AAAAAA00" poss="00003" />
	<item keyx="63" name="Berdysh" id="67" to="07" fsf="00AAAAAA00" poss="00003" />
	<item keyx="64" name="Great Scythe" id="68" to="08" fsf="00AAAAAA00" poss="00003" />
	<item keyx="65" name="Bill of Balrog" id="69" to="09" fsf="00AAAAAA00" poss="00003" />
	<item keyx="66" name="Dragon Spear" id="6A" to="0A" fsf="00AAAAAA00" poss="00003" />
	
	<item keyx="67" name="Short Bow" id="80" to="00" fsf="00AAAAAA00" poss="00004" />
	<item keyx="68" name="Bow" id="81" to="01" fsf="00AAAAAA00" poss="00004" />
	<item keyx="69" name="Elven Bow" id="82" to="02" fsf="00AAAAAA00" poss="00004" />
	<item keyx="70" name="Battle Bow" id="83" to="03" fsf="00AAAAAA00" poss="00004" />
	<item keyx="71" name="Tiger Bow" id="84" to="04" fsf="00AAAAAA00" poss="00004" />
	<item keyx="72" name="Silver Bow" id="85" to="05" fsf="00AAAAAA00" poss="00004" />
	<item keyx="73" name="Chaos Nature Bow" id="86" to="06" fsf="00AAAAAA00" poss="00004" />
	<item keyx="74" name="Bolt" id="87" to="07" fsf="00AAAAAA00" poss="00004" />
	<item keyx="75" name="Crossbow" id="88" to="08" fsf="00AAAAAA00" poss="00004" />
	<item keyx="76" name="Golden Crossbow" id="89" to="09" fsf="00AAAAAA00" poss="00004" />
	<item keyx="77" name="Arquebus" id="8A" to="0A" fsf="00AAAAAA00" poss="00004" />
	<item keyx="78" name="Light Crossbow" id="8B" to="0B" fsf="00AAAAAA00" poss="00004" />
	<item keyx="79" name="Serpent Crossbow" id="8C" to="0C" fsf="00AAAAAA00" poss="00004" />
	<item keyx="80" name="Bluewing Crossbow" id="8D" to="0D" fsf="00AAAAAA00" poss="00004" />
	<item keyx="81" name="Aquagold Crossbow" id="8E" to="0E" fsf="00AAAAAA00" poss="00004" />
	<item keyx="82" name="Arrow" id="8F" to="0F" fsf="00AAAAAA00" poss="00004" />
	<item keyx="83" name="Saint Crossbow" id="90" to="10" fsf="00AAAAAA00" poss="00004" />
	<item keyx="84" name="Celestial Bow" id="91" to="11" fsf="00AAAAAA00" poss="00004" />
	<item keyx="85" name="Divine Crossbow" id="92" to="12" fsf="00AAAAAA00" poss="00004" />
	<item keyx="86" name="Great Reign Crossbow" id="93" to="13" fsf="00AAAAAA00" poss="00004" />
	<item keyx="87" name="Arrow Viper Bow" id="94" to="14" fsf="00AAAAAA00" poss="00004" />
	<item keyx="88" name="Sylph Wind Bow" id="95" to="15" fsf="00AAAAAA00" poss="00004" />
	
	<item keyx="89" name="Skull Staff" id="A0" to="00" fsf="00AAAAAA00" poss="00005" />
	<item keyx="90" name="Angelic Staff" id="A1" to="01" fsf="00AAAAAA00" poss="00005" />
	<item keyx="91" name="Serpent Staff" id="A2" to="02" fsf="00AAAAAA00" poss="00005" />
	<item keyx="92" name="Thunder Staff" id="A3" to="03" fsf="00AAAAAA00" poss="00005" />
	<item keyx="93" name="Gorgon Staff" id="A4" to="04" fsf="00AAAAAA00" poss="00005" />
	<item keyx="94" name="Legendary Staff" id="A5" to="05" fsf="00AAAAAA00" poss="00005" />
	<item keyx="95" name="Staff of Resurrection" id="A6" to="06" fsf="00AAAAAA00" poss="00005" />
	<item keyx="96" name="Chaos Lightning Staff" id="A7" to="07" fsf="00AAAAAA00" poss="00005" />
	<item keyx="97" name="Staff of Destruction" id="A8" to="08" fsf="00AAAAAA00" poss="00005" />
	<item keyx="98" name="Dragon Soul Staff" id="AA" to="09" fsf="00AAAAAA00" poss="00005" />
	<item keyx="99" name="Divine Staff" id="A9" to="0A" fsf="00AAAAAA00" poss="00005" />
	<item keyx="100" name="Staff of Kundun" id="AB" to="0B" fsf="00AAAAAA00" poss="00005" />
	<item keyx="101" name="Grand Viper Staff" id="AC" to="0C" fsf="00AAAAAA00" poss="00005" />
	
	<item keyx="102" name="Small Shield" id="C0" to="00" fsf="00AAAAAA00" poss="00006" />
	<item keyx="103" name="Horn Shield" id="C1" to="01" fsf="00AAAAAA00" poss="00006" />
	<item keyx="104" name="Kite Shield" id="C2" to="02" fsf="00AAAAAA00" poss="00006" />
	<item keyx="105" name="Elven Shield" id="C3" to="03" fsf="00AAAAAA00" poss="00006" />
	<item keyx="106" name="Buckler" id="C4" to="04" fsf="00AAAAAA00" poss="00006" />
	<item keyx="107" name="Dragon Slayer Shield" id="C5" to="05" fsf="00AAAAAA00" poss="00006" />
	<item keyx="108" name="Skull Shield" id="C6" to="06" fsf="00AAAAAA00" poss="00006" />
	<item keyx="109" name="Spiked Shield" id="C7" to="07" fsf="00AAAAAA00" poss="00006" />
	<item keyx="110" name="Tower Shield" id="C8" to="08" fsf="00AAAAAA00" poss="00006" />
	<item keyx="111" name="Plate Shield" id="C9" to="09" fsf="00AAAAAA00" poss="00006" />
	<item keyx="112" name="Large Round Shield" id="CA" to="0A" fsf="00AAAAAA00" poss="00006" />
	<item keyx="113" name="Serpent Shield" id="CB" to="0B" fsf="00AAAAAA00" poss="00006" />
	<item keyx="114" name="Bronze Shield" id="CC" to="0C" fsf="00AAAAAA00" poss="00006" />
	<item keyx="115" name="Dragon Shield" id="CD" to="0D" fsf="00AAAAAA00" poss="00006" />
	<item keyx="116" name="Legendary Shield" id="CE" to="0E" fsf="00AAAAAA00" poss="00006" />
	<item keyx="117" name="Grand Soul Shield" id="CF" to="0F" fsf="00AAAAAA00" poss="00006" />
	<item keyx="118" name="Elemental Shield" id="D0" to="10" fsf="00AAAAAA00" poss="00006" />
	
	<item keyx="119" name="Bronze Helm" id="E0" to="00" fsf="00AAAAAA00" poss="00007" />
	<item keyx="120" name="Dragon Helm" id="E1" to="01" fsf="00AAAAAA00" poss="00007" />
	<item keyx="121" name="Pad Helm" id="E2" to="02" fsf="00AAAAAA00" poss="00007" />
	<item keyx="122" name="Legendary Helm" id="E3" to="03" fsf="00AAAAAA00" poss="00007" />
	<item keyx="123" name="Bone Helm" id="E4" to="04" fsf="00AAAAAA00" poss="00007" />
	<item keyx="124" name="Leather Helm" id="E5" to="05" fsf="00AAAAAA00" poss="00007" />
	<item keyx="125" name="Scale Helm" id="E6" to="06" fsf="00AAAAAA00" poss="00007" />
	<item keyx="126" name="Sphinx Helm" id="E7" to="07" fsf="00AAAAAA00" poss="00007" />
	<item keyx="127" name="Brass Helm" id="E8" to="08" fsf="00AAAAAA00" poss="00007" />
	<item keyx="128" name="Plate Helm" id="E9" to="09" fsf="00AAAAAA00" poss="00007" />
	<item keyx="129" name="Vine Helm" id="EA" to="0A" fsf="00AAAAAA00" poss="00007" />
	<item keyx="130" name="Silk Helm" id="EB" to="0B" fsf="00AAAAAA00" poss="00007" />
	<item keyx="131" name="Wind Helm" id="EC" to="0C" fsf="00AAAAAA00" poss="00007" />
	<item keyx="132" name="Spirit Helm" id="ED" to="0D" fsf="00AAAAAA00" poss="00007" />
	<item keyx="133" name="Guardian Helm" id="EE" to="0E" fsf="00AAAAAA00" poss="00007" />
	<item keyx="134" name="Black Dragon Helm" id="F0" to="10" fsf="00AAAAAA00" poss="00007" />
	<item keyx="135" name="Dark Phoenix Helm" id="F1" to="11" fsf="00AAAAAA00" poss="00007" />
	<item keyx="136" name="Grand Soul Helm" id="F2" to="12" fsf="00AAAAAA00" poss="00007" />
	<item keyx="137" name="Divine Helm" id="F3" to="13" fsf="00AAAAAA00" poss="00007" />
	<item keyx="138" name="Great Dragon Helm" id="F5" to="15" fsf="00AAAAAA00" poss="00007" />
	<item keyx="139" name="Dark Soul Helm" id="F6" to="16" fsf="00AAAAAA00" poss="00007" />
	<item keyx="140" name="Red Spirit Helm" id="F8" to="18" fsf="00AAAAAA00" poss="00007" />
	<item keyx="141" name="Light Plate Mask" id="F9" to="19" fsf="00AAAAAA00" poss="00007" />
	<item keyx="142" name="Adamantine Mask" id="FA" to="1A" fsf="00AAAAAA00" poss="00007" />
	<item keyx="143" name="Dark Steel Mask" id="FB" to="1B" fsf="00AAAAAA00" poss="00007" />
	<item keyx="144" name="Dark Master Mask" id="FC" to="1C" fsf="00AAAAAA00" poss="00007" />
	<item keyx="145" name="Dragon Knight Helm" id="FD" to="1D" fsf="00AAAAAA00" poss="00007" />
	<item keyx="146" name="Venom Helm" id="FE" to="1E" fsf="00AAAAAA00" poss="00007" />
	<item keyx="147" name="Sylpidray Helm" id="FF" to="1F" fsf="00AAAAAA00" poss="00007" />
	<item keyx="148" name="Sunlight Helm" id="E1" to="21" fsf="F9AAAAAA00" poss="00007" />
	<item keyx="149" name="Ashcrow Helm" id="E2" to="22" fsf="F9AAAAAA00" poss="00007" />
	<item keyx="150" name="Eclips Helm" id="E3" to="23" fsf="F9AAAAAA00" poss="00007" />	
	<item keyx="151" name="Iris Helm" id="E4" to="24" fsf="F9AAAAAA00" poss="00007" />
	<item keyx="152" name="Glorious Helm" id="E6" to="26" fsf="F9AAAAAA00" poss="00007" />
	
	<item keyx="153" name="Bronze Armor" id="00" to="00" fsf="00AAAAAA80" poss="00008" />
	<item keyx="154" name="Dragon Armor" id="01" to="01" fsf="00AAAAAA80" poss="00008" />
	<item keyx="155" name="Pad Armor" id="02" to="02" fsf="00AAAAAA80" poss="00008" />
	<item keyx="156" name="Legendary Armor" id="03" to="03" fsf="00AAAAAA80" poss="00008" />
	<item keyx="157" name="Bone Armor" id="04" to="04" fsf="00AAAAAA80" poss="00008" />
	<item keyx="158" name="Leather Armor" id="05" to="05" fsf="00AAAAAA80" poss="00008" />
	<item keyx="159" name="Scale Armor" id="06" to="06" fsf="00AAAAAA80" poss="00008" />
	<item keyx="160" name="Sphinx Armor" id="07" to="07" fsf="00AAAAAA80" poss="00008" />
	<item keyx="161" name="Brass Armor" id="08" to="08" fsf="00AAAAAA80" poss="00008" />
	<item keyx="162" name="Plate Armor" id="09" to="09" fsf="00AAAAAA80" poss="00008" />
	<item keyx="163" name="Vine Armor" id="0A" to="0A" fsf="00AAAAAA80" poss="00008" />
	<item keyx="164" name="Silk Armor" id="0B" to="0B" fsf="00AAAAAA80" poss="00008" />
	<item keyx="165" name="Wind Armor" id="0C" to="0C" fsf="00AAAAAA80" poss="00008" />
	<item keyx="166" name="Spirit Armor" id="0D" to="0D" fsf="00AAAAAA80" poss="00008" />
	<item keyx="167" name="Guardian Armor" id="0E" to="0E" fsf="00AAAAAA80" poss="00008" />
	<item keyx="168" name="Black Dragon Armor" id="10" to="10" fsf="00AAAAAA80" poss="00008" />
	<item keyx="169" name="Dark Phoenix Armor" id="11" to="11" fsf="00AAAAAA80" poss="00008" />
	<item keyx="170" name="Grand Soul Armor" id="12" to="12" fsf="00AAAAAA80" poss="00008" />
	<item keyx="171" name="Divine Armor" id="13" to="13" fsf="00AAAAAA80" poss="00008" />
	<item keyx="172" name="Thunder Hawk Armor" id="14" to="14" fsf="00AAAAAA80" poss="00008" />
	<item keyx="173" name="Great Dragon Armor" id="15" to="15" fsf="00AAAAAA80" poss="00008" />
	<item keyx="174" name="Dark Soul Armor" id="16" to="16" fsf="00AAAAAA80" poss="00008" />
	<item keyx="175" name="Hurricane Armor" id="17" to="17" fsf="00AAAAAA80" poss="00008" />
	<item keyx="176" name="Red Spirit Armor" id="18" to="18" fsf="00AAAAAA80" poss="00008" />
	<item keyx="177" name="Light Plate Armor" id="19" to="19" fsf="00AAAAAA80" poss="00008" />
	<item keyx="178" name="Adamantine Armor" id="1A" to="1A" fsf="00AAAAAA80" poss="00008" />
	<item keyx="179" name="Dark Steel Armor" id="1B" to="1B" fsf="00AAAAAA80" poss="00008" />
	<item keyx="180" name="Dark Master Armor" id="1C" to="1C" fsf="00AAAAAA80" poss="00008" />
	<item keyx="181" name="Dragon Knight Armor" id="1D" to="1D" fsf="00AAAAAA80" poss="00008" />
	<item keyx="182" name="Venom Armor" id="1E" to="1E" fsf="00AAAAAA80" poss="00008" />
	<item keyx="183" name="Sylpidray Armor" id="1F" to="1F" fsf="00AAAAAA80" poss="00008" />
	<item keyx="184" name="Volcano Armor" id="00" to="20" fsf="F9AAAAAA80" poss="00008" />
	<item keyx="185" name="Sunlight Armor" id="01" to="21" fsf="F9AAAAAA80" poss="00008" />
	<item keyx="186" name="Ashcrow Armor" id="02" to="22" fsf="F9AAAAAA80" poss="00008" />
	<item keyx="187" name="Eclips Armor" id="03" to="23" fsf="F9AAAAAA80" poss="00008" />	
	<item keyx="188" name="Iris Armor" id="04" to="24" fsf="F9AAAAAA80" poss="00008" />
	<item keyx="189" name="Valiant Armor" id="05" to="25" fsf="F9AAAAAA80" poss="00008" />
	<item keyx="190" name="Glorious Armor" id="06" to="26" fsf="F9AAAAAA80" poss="00008" />
	
	<item keyx="191" name="Bronze Pants" id="20" to="00" fsf="00AAAAAA80" poss="00009" />
	<item keyx="192" name="Dragon Pants" id="21" to="01" fsf="00AAAAAA80" poss="00009" />
	<item keyx="193" name="Pad Pants" id="22" to="02" fsf="00AAAAAA80" poss="00009" />
	<item keyx="194" name="Legendary Pants" id="23" to="03" fsf="00AAAAAA80" poss="00009" />
	<item keyx="195" name="Bone Pants" id="24" to="04" fsf="00AAAAAA80" poss="00009" />
	<item keyx="196" name="Leather Pants" id="25" to="05" fsf="00AAAAAA80" poss="00009" />
	<item keyx="197" name="Scale Pants" id="26" to="06" fsf="00AAAAAA80" poss="00009" />
	<item keyx="198" name="Sphinx Pants" id="27" to="07" fsf="00AAAAAA80" poss="00009" />
	<item keyx="199" name="Brass Pants" id="28" to="08" fsf="00AAAAAA80" poss="00009" />
	<item keyx="200" name="Plate Pants" id="29" to="09" fsf="00AAAAAA80" poss="00009" />
	<item keyx="201" name="Vine Pants" id="2A" to="0A" fsf="00AAAAAA80" poss="00009" />
	<item keyx="202" name="Silk Pants" id="2B" to="0B" fsf="00AAAAAA80" poss="00009" />
	<item keyx="203" name="Wind Pants" id="2C" to="0C" fsf="00AAAAAA80" poss="00009" />
	<item keyx="204" name="Spirit Pants" id="2D" to="0D" fsf="00AAAAAA80" poss="00009" />
	<item keyx="205" name="Guardian Pants" id="2E" to="0E" fsf="00AAAAAA80" poss="00009" />
	<item keyx="206" name="Black Dragon Pants" id="30" to="10" fsf="00AAAAAA80" poss="00009" />
	<item keyx="207" name="Dark Phoenix Pants" id="31" to="11" fsf="00AAAAAA80" poss="00009" />
	<item keyx="208" name="Grand Soul Pants" id="32" to="12" fsf="00AAAAAA80" poss="00009" />
	<item keyx="209" name="Divine Pants" id="33" to="13" fsf="00AAAAAA80" poss="00009" />
	<item keyx="210" name="Thunder Hawk Pants" id="34" to="14" fsf="00AAAAAA80" poss="00009" />
	<item keyx="211" name="Great Dragon Pants" id="35" to="15" fsf="00AAAAAA80" poss="00009" />
	<item keyx="212" name="Dark Soul Pants" id="36" to="16" fsf="00AAAAAA80" poss="00009" />
	<item keyx="213" name="Hurricane Pants" id="37" to="17" fsf="00AAAAAA80" poss="00009" />
	<item keyx="214" name="Red Spirit Pants" id="38" to="18" fsf="00AAAAAA80" poss="00009" />
	<item keyx="215" name="Light Plate Pants" id="39" to="19" fsf="00AAAAAA80" poss="00009" />
	<item keyx="216" name="Adamantine Pants" id="3A" to="1A" fsf="00AAAAAA80" poss="00009" />
	<item keyx="217" name="Dark Steel Pants" id="3B" to="1B" fsf="00AAAAAA80" poss="00009" />
	<item keyx="218" name="Dark Master Pants" id="3C" to="1C" fsf="00AAAAAA80" poss="00009" />
	<item keyx="219" name="Dragon Knight Pants" id="3D" to="1D" fsf="00AAAAAA80" poss="00009" />
	<item keyx="220" name="Venom Pants" id="3E" to="1E" fsf="00AAAAAA80" poss="00009" />
	<item keyx="221" name="Sylpidray Pants" id="3F" to="1F" fsf="00AAAAAA80" poss="00009" />
	<item keyx="222" name="Volcano Pants" id="20" to="20" fsf="F9AAAAAA80" poss="00009" />
	<item keyx="223" name="Sunlight Pants" id="21" to="21" fsf="F9AAAAAA80" poss="00009" />
	<item keyx="224" name="Ashcrow Pants" id="22" to="22" fsf="F9AAAAAA80" poss="00009" />
	<item keyx="225" name="Eclips Pants" id="23" to="23" fsf="F9AAAAAA80" poss="00009" />	
	<item keyx="226" name="Iris Pants" id="24" to="24" fsf="F9AAAAAA80" poss="00009" />
	<item keyx="227" name="Valiant Pants" id="25" to="25" fsf="F9AAAAAA80" poss="00009" />
	<item keyx="228" name="Glorious Pants" id="26" to="26" fsf="F9AAAAAA80" poss="00009" />
	
	<item keyx="229" name="Bronze Gloves" id="40" to="00" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="230" name="Dragon Gloves" id="41" to="01" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="231" name="Pad Gloves" id="42" to="02" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="232" name="Legendary Gloves" id="43" to="03" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="233" name="Bone Gloves" id="44" to="04" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="234" name="Leather Gloves" id="45" to="05" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="235" name="Scale Gloves" id="46" to="06" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="236" name="Sphinx Gloves" id="47" to="07" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="237" name="Brass Gloves" id="48" to="08" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="238" name="Plate Gloves" id="49" to="09" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="239" name="Vine Gloves" id="4A" to="0A" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="240" name="Silk Gloves" id="4B" to="0B" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="241" name="Wind Gloves" id="4C" to="0C" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="242" name="Spirit Gloves" id="4D" to="0D" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="243" name="Guardian Gloves" id="4E" to="0E" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="244" name="Black Dragon Gloves" id="50" to="10" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="245" name="Dark Phoenix Gloves" id="51" to="11" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="246" name="Grand Soul Gloves" id="52" to="12" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="247" name="Divine Gloves" id="53" to="13" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="248" name="Thunder Hawk Gloves" id="54" to="14" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="249" name="Great Dragon Gloves" id="55" to="15" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="250" name="Dark Soul Gloves" id="56" to="16" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="251" name="Hurricane Gloves" id="57" to="17" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="252" name="Red Spirit Gloves" id="58" to="18" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="253" name="Light Plate Gloves" id="59" to="19" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="254" name="Adamantine Gloves" id="5A" to="1A" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="255" name="Dark Steel Gloves" id="5B" to="1B" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="256" name="Dark Master Gloves" id="5C" to="1C" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="257" name="Dragon Knight Gloves" id="5D" to="1D" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="258" name="Venom Gloves" id="5E" to="1E" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="259" name="Sylpidray Gloves" id="5F" to="1F" fsf="00AAAAAA80" poss="0000A" />
	<item keyx="260" name="Volcano Gloves" id="40" to="20" fsf="F9AAAAAA80" poss="0000A" />
	<item keyx="261" name="Sunlight Gloves" id="41" to="21" fsf="F9AAAAAA80" poss="0000A" />
	<item keyx="262" name="Ashcrow Gloves" id="42" to="22" fsf="F9AAAAAA80" poss="0000A" />
	<item keyx="263" name="Eclips Gloves" id="43" to="23" fsf="F9AAAAAA80" poss="0000A" />	
	<item keyx="264" name="Iris Gloves" id="44" to="24" fsf="F9AAAAAA80" poss="0000A" />
	<item keyx="265" name="Valiant Gloves" id="45" to="25" fsf="F9AAAAAA80" poss="0000A" />
	<item keyx="266" name="Glorious Gloves" id="46" to="26" fsf="F9AAAAAA80" poss="0000A" />
	
	<item keyx="267" name="Bronze Boots" id="60" to="00" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="268" name="Dragon Boots" id="61" to="01" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="269" name="Pad Boots" id="62" to="02" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="270" name="Legendary Boots" id="63" to="03" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="271" name="Bone Boots" id="64" to="04" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="272" name="Leather Boots" id="65" to="05" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="273" name="Scale Boots" id="66" to="06" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="274" name="Sphinx Boots" id="67" to="07" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="275" name="Brass Boots" id="68" to="08" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="276" name="Plate Boots" id="69" to="09" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="277" name="Vine Boots" id="6A" to="0A" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="278" name="Silk Boots" id="6B" to="0B" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="279" name="Wind Boots" id="6C" to="0C" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="280" name="Spirit Boots" id="6D" to="0D" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="281" name="Guardian Boots" id="6E" to="0E" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="282" name="Black Dragon Boots" id="70" to="10" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="283" name="Dark Phoenix Boots" id="71" to="11" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="284" name="Grand Soul Boots" id="72" to="12" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="285" name="Divine Boots" id="73" to="13" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="286" name="Thunder Hawk Boots" id="74" to="14" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="287" name="Great Dragon Boots" id="75" to="15" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="288" name="Dark Soul Boots" id="76" to="16" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="289" name="Hurricane Boots" id="77" to="17" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="290" name="Red Spirit Boots" id="78" to="18" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="291" name="Light Plate Boots" id="79" to="19" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="292" name="Adamantine Boots" id="7A" to="1A" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="293" name="Dark Steel Boots" id="7B" to="1B" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="294" name="Dark Master Boots" id="7C" to="1C" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="295" name="Dragon Knight Boots" id="7D" to="1D" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="296" name="Venom Boots" id="7E" to="1E" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="297" name="Sylpidray Boots" id="7F" to="1F" fsf="00AAAAAA80" poss="0000B" />
	<item keyx="298" name="Volcano Boots" id="60" to="20" fsf="F9AAAAAA80" poss="0000B" />
	<item keyx="299" name="Sunlight Boots" id="61" to="21" fsf="F9AAAAAA80" poss="0000B" />
	<item keyx="300" name="Ashcrow Boots" id="62" to="22" fsf="F9AAAAAA80" poss="0000B" />
	<item keyx="301" name="Eclips Boots" id="63" to="23" fsf="F9AAAAAA80" poss="0000B" />	
	<item keyx="302" name="Iris Boots" id="64" to="24" fsf="F9AAAAAA80" poss="0000B" />
	<item keyx="303" name="Valiant Boots" id="65" to="25" fsf="F9AAAAAA80" poss="0000B" />
	<item keyx="304" name="Glorious Boots" id="66" to="26" fsf="F9AAAAAA80" poss="0000B" />

	<item keyx="305" name="Wings of Elf" id="80" to="00" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="306" name="Wings of Heaven" id="81" to="01" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="307" name="Wings of Satan" id="82" to="02" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="308" name="Wings of Spirits" id="83" to="03" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="309" name="Wings of Soul" id="84" to="04" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="310" name="Wings of Dragon" id="85" to="05" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="311" name="Wings of Darkness" id="86" to="06" fsf="00AAAAAA80" poss="0000C" />
	
	<item keyx="312" name="Orb of Twisting Slash" id="87" to="07" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="313" name="Orb of Healing" id="88" to="08" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="314" name="Orb of Greater Defence" id="89" to="09" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="315" name="Orb of Greater Damage" id="8A" to="0A" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="316" name="Orb of Summoning" id="8B" to="0B" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="317" name="Orb of Hell Blast" id="8C" to="0C" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="318" name="Orb of Fury of Light" id="8D" to="0D" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="319" name="Orb of Inner Strength" id="8E" to="0E" fsf="00AAAAAA80" poss="0000C" />
	
	<item keyx="320" name="Jewel of Chaos" id="8F" to="0F" fsf="00AAAAAA80" poss="0000C" />
	
	<item keyx="321" name="Orb of Fireslash" id="90" to="10" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="322" name="Orb of Penetration" id="91" to="11" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="323" name="Orb of Freezing Arrow" id="92" to="12" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="324" name="Orb of Death Stab" id="93" to="13" fsf="00AAAAAA80" poss="0000C" />
	
	<item keyx="325" name="Scroll of Fireburst" id="94" to="15" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="326" name="Scroll of Summon" id="95" to="16" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="327" name="Scroll of Add Critical DMG" id="96" to="17" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="328" name="Scroll of Electric Spark" id="97" to="18" fsf="00AAAAAA80" poss="0000C" />
		
	<item keyx="329" name="Potion of Bless" id="1E" to="0700" fsf="00AAAAAA80" poss="0000E" />
	<item keyx="330" name="Potion of Soul" id="1F" to="0708" fsf="00AAAAAA80" poss="0000E" />
	
	<item keyx="331" name="Guardian Angel" id="A0" to="00" fsf="00AAAAAA80" poss="0000D" />
	<item keyx="332" name="Satan" id="A1" to="01" fsf="00AAAAAA80" poss="0000D" />
	<item keyx="333" name="Horn of Unilia" id="A2" to="02" fsf="00AAAAAA80" poss="0000D" />
	<item keyx="334" name="Dinorant" id="A3" to="03" fsf="00AAAAAA80" poss="0000D" />
	<item keyx="335" name="Dark Horse" id="A4" to="04" fsf="00AAAAAA80" poss="0000D" />
	<item keyx="336" name="Dark Raven" id="A5" to="05" fsf="00AAAAAA80" poss="0000D" />
	
	<item keyx="337" name="Contract (Summon)" id="A7" to="00" fsf="00AAAAAA80" poss="00000" />
	
	<item keyx="338" name="Ring of Ice" id="A8" to="08" fsf="00AAAAAA80" poss="0000D" />
	<item keyx="339" name="Ring of Poison" id="A9" to="09" fsf="00AAAAAA80" poss="0000D" />
	<item keyx="340" name="Ring of Transformation" id="AA" to="0A" fsf="00AAAAAA80" poss="0000D" />
	
	<item keyx="341" name="Orb of Resurrection" id="AB" to="0B" fsf="00AAAAAA80" poss="00000" />
	
	<item keyx="342" name="Pendant of Lightning" id="AC" to="0C" fsf="00AAAAAA80" poss="0000D" />
	<item keyx="343" name="Pendant of Fire" id="AD" to="0D" fsf="00AAAAAA80" poss="0000D" />
	
	<item keyx="344" name="Blue Feather" id="AE" to="0E" fsf="00AAAAAA80" poss="00000" />
	<item keyx="345" name="Fruit" id="AF" to="00" fsf="00AAAAAA80" poss="00000" />
	<item keyx="346" name="Blood Scroll" id="00" to="00" fsf="00AAAAAA80" poss="00000" />
	<item keyx="347" name="Blood Fang" id="00" to="00" fsf="00AAAAAA80" poss="00000" />
	<item keyx="348" name="Invisibility Cloak" id="B2" to="00" fsf="00AAAAAA80" poss="00000" />
	<item keyx="349" name="Divine Weapon of Archangel" id="B3" to="00" fsf="00AAAAAA80" poss="00000" />
	
	<item keyx="350" name="Ring of Wizardy" id="B4" to="14" fsf="00AAAAAA80" poss="0000E" />
	<item keyx="351" name="Ring Of Fire" id="B5" to="15" fsf="00AAAAAA80" poss="0000E" />
	<item keyx="352" name="Ring Of Earth" id="B6" to="16" fsf="00AAAAAA80" poss="0000E" />
	<item keyx="353" name="Ring Of Wind" id="B7" to="17" fsf="00AAAAAA80" poss="0000E" />
	<item keyx="354" name="Ring Of Magic" id="B8" to="18" fsf="00AAAAAA80" poss="0000E" />
	<item keyx="355" name="Pendant of Ice" id="B9" to="19" fsf="00AAAAAA80" poss="0000D" />
	<item keyx="356" name="Pendant of Wind" id="BA" to="1A" fsf="00AAAAAA80" poss="0000D" />
	<item keyx="357" name="Pendant of Water" id="BB" to="1B" fsf="00AAAAAA80" poss="0000D" />
	<item keyx="358" name="Pendant of Ability" id="BC" to="1C" fsf="00AAAAAA80" poss="0000D" />
	
	<item keyx="359" name="Armor of Guardian" id="BD" to="00" fsf="00AAAAAA80" poss="00000" />
	<item keyx="360" name="Cape of lord" id="BE" to="1E" fsf="00AAAAAA80" poss="0000D" />
	<item keyx="361" name="Spirit" id="BF" to="00" fsf="00AAAAAA80" poss="00000" />
	<item keyx="362" name="Fenrir" id="00" to="25" fsf="00AAAAAA80" poss="00000" />
	
	<item keyx="363" name="Apple" id="C0" to="00" fsf="00AAAAAA80" poss="0000E" />
	<item keyx="364" name="Small Healing Potion" id="C1" to="01" fsf="00AAAAAA80" poss="0000E" />
	<item keyx="365" name="Healing Potion" id="C2" to="02" fsf="00AAAAAA80" poss="0000E" />
	<item keyx="366" name="Large Healing Potion" id="C3" to="03" fsf="00AAAAAA80" poss="0000E" />
	<item keyx="367" name="Small Mana Potion" id="C4" to="04" fsf="00AAAAAA80" poss="0000E" />
	<item keyx="368" name="Mana Potion" id="C5" to="05" fsf="00AAAAAA80" poss="0000E" />
	<item keyx="369" name="Large Mana Potion" id="C6" to="06" fsf="00AAAAAA80" poss="0000E" />
	<item keyx="370" name="Siege Potion" id="C7" to="07" fsf="00AAAAAA80" poss="0000E" />
	<item keyx="371" name="Antidote" id="C8" to="08" fsf="00AAAAAA80" poss="0000E" />
	<item keyx="372" name="Ale" id="C9" to="09" fsf="00AAAAAA80" poss="0000E" />
	<item keyx="373" name="Town Teleport" id="CA" to="0A" fsf="00AAAAAA80" poss="00000" />
	<item keyx="374" name="Box of Luck" id="CB" to="0B" fsf="00AAAAAA80" poss="00000" />
	<item keyx="375" name="Heart" id="CC" to="0C" fsf="00AAAAAA80" poss="00000" />
	
	<item keyx="376" name="Jewel of Bless" id="CD" to="0D" fsf="00AAAAAA80" poss="0000C" />
	<item keyx="377" name="Jewel of Soul" id="CE" to="0E" fsf="00AAAAAA80" poss="0000C" />
	
	<item keyx="378" name="Zen" id="CF" to="0F" fsf="00AAAAAA80" poss="0000E" />
	
	<item keyx="379" name="Jewel of Life" id="D0" to="10" fsf="00AAAAAA80" poss="0000E" />
	
	<item keyx="380" name="Devil's Eye" id="D1" to="11" fsf="00AAAAAA80" poss="00000" />
	<item keyx="381" name="Devil's keyx" id="D2" to="12" fsf="00AAAAAA80" poss="00000" />
	<item keyx="382" name="Ticket to Devil Square" id="D3" to="13" fsf="00AAAAAA80" poss="00000" />
	<item keyx="383" name="Remedy of Love" id="D4" to="14" fsf="00AAAAAA80" poss="00000" />
	<item keyx="384" name="Rena" id="D5" to="15" fsf="00AAAAAA80" poss="00000" />
	<item keyx="385" name="Jewel of Creation" id="D6" to="16" fsf="00AAAAAA80" poss="0000E" />
	<item keyx="386" name="Scroll of the Emperor" id="D7" to="17" fsf="00AAAAAA80" poss="00000" />
	<item keyx="387" name="Broken Sword" id="D8" to="18" fsf="00AAAAAA80" poss="00000" />
	<item keyx="388" name="Tear of Elf" id="D9" to="19" fsf="00AAAAAA80" poss="00000" />
	<item keyx="389" name="Soul of Wizard" id="DA" to="1A" fsf="00AAAAAA80" poss="00000" />
	<item keyx="390" name="Ancient Metal" id="DB" to="1B" fsf="00AAAAAA80" poss="00000" />
	<item keyx="391" name="Lost Map" id="DC" to="1C" fsf="00AAAAAA80" poss="00000" />
	<item keyx="392" name="Sign Of Kundun" id="DD" to="1D" fsf="00AAAAAA80" poss="00000" />
	
	<item keyx="393" name="Jewel of Guardian" id="DF" to="1F" fsf="00AAAAAA80" poss="0000E" />
	
	<item keyx="394" name="Scroll of Poison" id="E0" to="00" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="395" name="Scroll of Meteorite" id="E1" to="01" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="396" name="Scroll of Lightning" id="E2" to="02" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="397" name="Scroll of Fire Ball" id="E3" to="03" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="398" name="Scroll of Flame" id="E4" to="04" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="399" name="Scroll of Teleport" id="E5" to="05" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="400" name="Scroll of Ice" id="E6" to="06" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="401" name="Scroll of Twister" id="E7" to="07" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="402" name="Scroll of Evil Spirits" id="E8" to="08" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="403" name="Scroll of Hell Fire" id="E9" to="09" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="404" name="Scroll of Power Wave" id="EA" to="0A" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="405" name="Scroll of Aqua Beam" id="EB" to="0B" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="406" name="Scroll of Blast" id="EC" to="0C" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="407" name="Scroll of Inferno" id="ED" to="0D" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="408" name="Scroll of Mass Teleport" id="EE" to="0E" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="409" name="Scroll of Soul Barrier" id="EF" to="0F" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="410" name="Scroll of Decay" id="F0" to="10" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="411" name="Scroll of Ice Storm" id="F1" to="11" fsf="00AAAAAA80" poss="0000F" />
	<item keyx="412" name="Scroll of Nova" id="F2" to="12" fsf="00AAAAAA80" poss="0000F" />
	
</items>

Compartilhar este post


Link para o post
Compartilhar em outros sites

Levando em conta que nunca usei isso amigo,

primeira vez.

 

não sei como utilizar os codigos, estou tentando a horas e sem sucesso.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Primeiro, não flood o fórum. É contra as regras.

Regras do Fórum

 

Olhou a referência que o João Batista indicou? Como está o seu código no momento?

 

Carlos Eduardo

 

EDIT: Não duplique os tópicos também. Crie somente um e tenha paciência.

Tópicos Unidos

Compartilhar este post


Link para o post
Compartilhar em outros sites

@ Matias Rezende,

o segundo tópico era bem diferente desse, caso você não tenha percebido tratava-se de um assunto diferente.

nesse tópico a dúvida era como dar um select no xml.

enquanto no outro era como passar o banco xml para mysql.

se tivesse prestado atenção teria notado que ambos são diferentes.

 

resolvi o problema.

 

caso alguem tenha a mesma duvida usei o código abaixo:

$myxml = simplexml_load_file('items.xml');
foreach ($myxml->children() as $second_gen)
{

$chave	= $second_gen['keyx'];
$nome	= $second_gen['name'];
$id		= $second_gen['id'];
$to		= $second_gen['to'];
$fsf	= $second_gen['fsf'];
$poss	= $second_gen['poss'];

$msquery = "insert into XGS_Items (chave, name, id, para, fsf, poss) values ('$chave', '$nome', '$id', '$to', '$fsf', '$poss')";
$msresults= mssql_query($msquery) or die (mssql_error());

if($msresults)
{
echo "ID: " . $chave ." / Item " . $nome . " adicionado com sucesso";
echo "<br>";
}
else
{
echo "Erro ao adicionar item";
echo "<br>";
}
}

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.