Thread Tools Display Modes
12-09-05, 10:18 PM   #1
xbjim
A Wyrmkin Dreamwalker
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 58
possible to edit default XML "template"?

when i goto Project -> Add XML File

it gives me a blank xml file, is there a way so that i could make it.. everytime i added a new xml file it would be "preloaded" with:

Code:
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
<Script file="ADDON_NAME.lua"/>
	<Frame name="ADDON_NAME_FRAME" parent="UIParent" hidden="false" toplevel="true">
		<Scripts>
			<OnLoad>
				ADDON_NAME_OnLoad();
			</OnLoad>
			<OnUpdate>
				ADDON_NAME_OnUpdate(GetTime());
			</OnUpdate>			
			<OnEvent>
				ADDON_NAME_OnEvent(event);
			</OnEvent>
		</Scripts>
	</Frame>
</Ui>
like a "Add New XML File" template?
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » possible to edit default XML "template"?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off