You are here

XML parser sample 3 (40526.xml)

  1. <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="/layout/item-tooltip.xsl"?><page globalSearch="1" lang="en_us" requestUrl="/item-tooltip.xml">
  2.   <itemTooltips>
  3.     <itemTooltip>
  4.       <id>40526</id>
  5.       <name>Gown of the Spell-Weaver</name>
  6.       <icon>inv_chest_cloth_73</icon>
  7.       <overallQualityId>4</overallQualityId>
  8.  
  9.       <bonding>1</bonding>
  10.       <classId>4</classId>
  11.       <equipData>
  12.         <inventoryType>20</inventoryType>
  13.         <subclassName>Cloth</subclassName>
  14.       </equipData>
  15.       <damageData/>
  16.  
  17.       <bonusStamina>85</bonusStamina>
  18.       <bonusIntellect>70</bonusIntellect>
  19.       <armor armorBonus="0">308</armor>
  20.       <socketData>
  21.         <socket color="Yellow"/>
  22.       </socketData>
  23.       <durability current="0" max="100"/>
  24.  
  25.       <requiredLevel>80</requiredLevel>
  26.       <bonusHitRating>72</bonusHitRating>
  27.       <bonusCritRating>50</bonusCritRating>
  28.       <bonusSpellPower>110</bonusSpellPower>
  29.       <itemSource areaId="4500" areaName="Eye of Eternity" creatureId="28859" creatureName="Malygos" difficulty="n" dropRate="3" value="sourceType.creatureDrop"/>
  30.     </itemTooltip>
  31.   </itemTooltips>
  32.  
  33. </page>

One of the XML paragraphs provided for the XML parser implementations series.

From http://www.wowarmory.com/item-tooltip.xml?i=40526 on 09 January 2009. Copyright Blizzard Entertainment, Inc. Included on this site in accordance with Blizzard's published copyright policy as of 09 January 2009.

Articles: 
Source code: