WoW:XML attribute types

From AddOn Studio
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", same as 'xs:boolean'
  • int - an integer number; "0", "1", "-5"
  • float - a floating-point number; "0", "0.2", "1.0", "-1.23456789"