Thread Tools Display Modes
05-15-13, 08:19 AM   #1
kvz
A Kobold Labourer
Join Date: May 2013
Posts: 1
xml convert to lua

Hello
I'm looking at some way to convert a xml into a luaxml.

I have a very simple test.html
<Table name="letters">
<Property name="a" type="string"/>
<Property name="b" type="string"/>
<Property name="c" type="string"/>
</Table>

How can I do that to look in luaxml form

Thanks in advance
  Reply With Quote
05-15-13, 11:53 AM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
WoW doesn't use LuaXML. But if you want to make a table in Lua...

local myTable = {"a", "b", "c"}
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
05-15-13, 12:59 PM   #3
ravagernl
Proceritate Corporis
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 1,176
You can use this old Libstub library to parse xml in your addons: http://www.wowace.com/addons/libxml-1-0/ I don't see why it shouldn't work.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » xml convert to lua


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