Quantcast

Add xml header

John Pasula [08-16-10 - 16:16]
Add xml header
Filename
core.lua
diff --git a/core.lua b/core.lua
index 3810e25..60caff2 100644
--- a/core.lua
+++ b/core.lua
@@ -1898,6 +1898,8 @@ do
 			tinsert(text_table, "Spell ID,Recipe Name,Skill Level,ARL Filter Flags,Acquire Methods,Known\n")
 		elseif output == "BBCode" then
 			tinsert(text_table, strformat("Ackis Recipe List Text Dump for %s's %s, in the form of BBCode.\n", UnitName("player"), profession))
+		elseif output == "XML" then
+			tinsert(text_table, "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>")
 		end

 		local recipe_list = private.recipe_list