#1 2014-10-03 08:38:16

nirnir
Member
Registered: 2013-11-11
Posts: 66

mustache xml instead of json

Can I feed mustache with XML data instead of json ?

Offline

#2 2014-10-03 10:52:08

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,214
Website

Re: mustache xml instead of json

It is possible but not implemented yet.

Offline

#3 2014-10-03 12:38:06

nirnir
Member
Registered: 2013-11-11
Posts: 66

Re: mustache xml instead of json

I saw you have JSONToXML function in SynCommons is the other way exist somewhere else ?

Offline

#4 2014-10-03 18:02:59

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,214
Website

Re: mustache xml instead of json

Sadly not yet, since XML as source format is much more complex.
The easiest is to use a XML library and fill our tdocvariant content from it, then give the variant to synmustache.

Offline

Board footer

Powered by FluxBB