<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=WoW%3AXML%2FAttribute</id>
	<title>WoW:XML/Attribute - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=WoW%3AXML%2FAttribute"/>
	<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:XML/Attribute&amp;action=history"/>
	<updated>2026-06-02T00:07:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:XML/Attribute&amp;diff=20336&amp;oldid=prev</id>
		<title>Move page script: Move page script moved page XML/Attribute to WoW:XML/Attribute without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:XML/Attribute&amp;diff=20336&amp;oldid=prev"/>
		<updated>2023-08-15T04:49:21Z</updated>

		<summary type="html">&lt;p&gt;Move page script moved page &lt;a href=&quot;/wiki/WoW:XML/Attribute&quot; title=&quot;WoW:XML/Attribute&quot;&gt;XML/Attribute&lt;/a&gt; to &lt;a href=&quot;/wiki/WoW:XML/Attribute&quot; title=&quot;WoW:XML/Attribute&quot;&gt;XML/Attribute&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:49, 15 August 2023&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key addonstu_asmw2:diff::1.12:old-20335:rev-20336 --&gt;
&lt;/table&gt;</summary>
		<author><name>Move page script</name></author>
	</entry>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:XML/Attribute&amp;diff=20335&amp;oldid=prev</id>
		<title>Bear: Created page with &quot; The WoW Attribute type adds an arbitrary variable to a runtime Lua object. This mechanism is very akin to the parentKey, relativeKey, an...&quot;</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:XML/Attribute&amp;diff=20335&amp;oldid=prev"/>
		<updated>2012-09-18T06:46:13Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; The WoW Attribute type adds an arbitrary variable to a runtime Lua object. This mechanism is very akin to the &lt;a href=&quot;/mw1/index.php?title=WoW:XML/parentKey&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WoW:XML/parentKey (page does not exist)&quot;&gt;parentKey&lt;/a&gt;, &lt;a href=&quot;/mw1/index.php?title=WoW:XML/relativeKey&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WoW:XML/relativeKey (page does not exist)&quot;&gt;relativeKey&lt;/a&gt;, an...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{uixmlprop}}&lt;br /&gt;
&lt;br /&gt;
The WoW XML [[XML/Attribute|Attribute]] elements add an arbitrary variable to a runtime Lua object. This mechanism is very akin to the [[XML/parentKey|parentKey]], [[XML/relativeKey|relativeKey]], and [[XML/targetKey|targetKey]] XML attributes, in that all of these allow adding arbitrary member variables to Lua objects from WoW [[FrameXML]]. See also [[XML/KeyValue|KeyValue]].&lt;br /&gt;
&lt;br /&gt;
== Inheritance ==&lt;br /&gt;
Inherited by: none, Inherits: none, Defined in: [[XML/Frame|Frame]] &amp;gt; [[XML/Attributes|Attributes]]&lt;br /&gt;
&lt;br /&gt;
== Elements ==&lt;br /&gt;
none&lt;br /&gt;
&lt;br /&gt;
== Attributes ==&lt;br /&gt;
* name (string) - Lua name for the attribute&lt;br /&gt;
* type ([[XML/ATTRIBUTETYPE|ATTRIBUTETYPE]]) - the Lua type for the attribute. Default is &amp;#039;string&amp;#039;.&lt;br /&gt;
* value - the actual value for the attribute. will be converted to the Lua type defined by type at runtime&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
An [[XML/Attribute|Attribute]] element defines a Lua runtime object variable for the XML element.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
 &amp;lt;Frame name=&amp;quot;MyFrame&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;Attributes&amp;gt;&lt;br /&gt;
     &amp;lt;Attribute name=&amp;quot;myvar&amp;quot; type=&amp;quot;number&amp;quot; value=&amp;quot;0&amp;quot;/&amp;gt;&lt;br /&gt;
   &amp;lt;/Attributes&amp;gt;&lt;br /&gt;
 &amp;lt;/Frame&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This example will set a variable named &amp;#039;myvar&amp;#039; with a number value of &amp;#039;0&amp;#039;, when the frame is created.&lt;/div&gt;</summary>
		<author><name>Bear</name></author>
	</entry>
</feed>