I dont know how to description the question i wanna ask......for example, I do this in Config.lua:
Lua Code:
local EKPlates, ns = ...
ns[1] = {} -- C, config
ns[2] = {} -- G, globals (Optionnal)
local C, G = unpack(select(2, ...))
-- config
G.norFont = STANDARD_TEXT_FONT
It's fine but now I need to make a xml template:
Code:
<FontString parentKey="value" font="Interface\AddOns\EKPlates\media\font.ttf" justifyH="CENTER" outline="NORMAL">
how to get media/font/texture file config in xml?
I know this is wrong
Code:
<FontString parentKey="value" font=G.norFont justifyH="CENTER" outline="NORMAL">
but I dont know the correct way......