You are here

XML parser sample 4 (44006.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>44006</id>
  5.       <name>Obsidian Greathelm</name>
  6.       <icon>inv_helmet_95</icon>
  7.       <overallQualityId>4</overallQualityId>
  8.  
  9.       <bonding>1</bonding>
  10.       <classId>4</classId>
  11.       <equipData>
  12.         <inventoryType>1</inventoryType>
  13.         <subclassName>Plate</subclassName>
  14.       </equipData>
  15.       <damageData/>
  16.  
  17.       <bonusStrength>98</bonusStrength>
  18.       <bonusStamina>145</bonusStamina>
  19.       <armor armorBonus="0">1908</armor>
  20.       <socketData>
  21.         <socket color="Meta"/>
  22.         <socket color="Blue"/>
  23.       </socketData>
  24.  
  25.       <durability current="0" max="100"/>
  26.       <requiredLevel>80</requiredLevel>
  27.       <bonusCritRating>76</bonusCritRating>
  28.       <bonusExpertiseRating>59</bonusExpertiseRating>
  29.       <itemSource value="sourceType.none"/>
  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=44006 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: