You are here

XML parser sample 1 (41660.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>41660</id>
  5.       <name>Deadly Gladiator's Dragonhide Robes</name>
  6.       <icon>inv_chest_leather_12</icon>
  7.       <overallQualityId>4</overallQualityId>
  8.  
  9.       <bonding>1</bonding>
  10.       <classId>4</classId>
  11.       <equipData>
  12.         <inventoryType>20</inventoryType>
  13.         <subclassName>Leather</subclassName>
  14.       </equipData>
  15.       <damageData/>
  16.  
  17.       <bonusAgility>84</bonusAgility>
  18.       <bonusStamina>115</bonusStamina>
  19.       <armor armorBonus="0">578</armor>
  20.       <socketData>
  21.         <socket color="Red"/>
  22.         <socket color="Yellow"/>
  23.       </socketData>
  24.  
  25.       <durability current="0" max="120"/>
  26.       <allowableClasses>
  27.         <class>Druid</class>
  28.       </allowableClasses>
  29.       <requiredLevel>80</requiredLevel>
  30.       <bonusAttackPower>102</bonusAttackPower>
  31.       <bonusCritRating>51</bonusCritRating>
  32.  
  33.       <bonusResilienceRating>66</bonusResilienceRating>
  34.       <setData>
  35.         <name>Gladiator's Sanctuary</name>
  36.         <item name="Gladiator's Dragonhide Gloves"/>
  37.         <item name="Gladiator's Dragonhide Helm"/>
  38.         <item name="Gladiator's Dragonhide Legguards"/>
  39.         <item name="Gladiator's Dragonhide Spaulders"/>
  40.         <item name="Gladiator's Dragonhide Tunic"/>
  41.  
  42.         <setBonus desc="+50 Resilience Rating." threshold="2"/>
  43.         <setBonus desc="Increases your movement speed by 15% while in Bear Form, Cat Form, or Travel Form.  Only active outdoors." threshold="4"/>
  44.       </setData>
  45.       <itemSource value="sourceType.vendor"/>
  46.     </itemTooltip>
  47.   </itemTooltips>
  48. </page>

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

From http://www.wowarmory.com/item-tooltip.xml?i=41660 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: