WoW:XML attribute types

From AddOn Studio
Revision as of 14:41, 22 May 2010 by WoWWiki>Drazisil (CategorySelect - Adding categories)
Jump to navigation Jump to search

Types of attributes used in XML UI. Note that, in accordance with XML formatting rules, all parameters, regardless of their type, must be enclosed in double quotes.

  • string - any string; "blah", "foo", "whatever"
  • boolean - "true" or "false"
  • int - an integer number; "0", "1", "-5"
  • float - a floating-point number; "0", "0.2", "1.0", "-1.23456789"