Re: [NTG-context] XML export of a lua table

2017-02-23 Thread Peter Rolf
Am 23.02.2017 um 14:10 schrieb Hans Hagen: > On 2/23/2017 1:50 PM, Peter Rolf wrote: >> Hi, >> >> what is the easiest way to export a lua table (mostly key-value pairs) >> into a XML file? I found 'lxml.save', but no luck with a converter >> function. Any help welcome. > > kind of obvious: > >

Re: [NTG-context] XML export of a lua table

2017-02-23 Thread Hans Hagen
On 2/23/2017 1:50 PM, Peter Rolf wrote: Hi, what is the easiest way to export a lua table (mostly key-value pairs) into a XML file? I found 'lxml.save', but no luck with a converter function. Any help welcome. kind of obvious: local t = { a = { b = 1 } } inspect(table.toxml(t))

[NTG-context] XML export of a lua table

2017-02-23 Thread Peter Rolf
Hi, what is the easiest way to export a lua table (mostly key-value pairs) into a XML file? I found 'lxml.save', but no luck with a converter function. Any help welcome. Peter ___ If your question is of interest to