Loading .xsl data
-
Hey I'm working on a small little project and for a little feature it needs to get data from a .xsl hosted online. I don't know too much about web API's and such, but I was wondering if this would be possible in HaxeFlixel?
And if so, ho would I go about it?
For example:{ "Whatever" : { "Something": { "sampel text": "More whatever", "title": "Title is here" } } }
here's a stripped down version of the .xsl thing. Let's say I want to get title, how would I go about that?
-
It looks like *.xsl files are regular XML files, but the example you gave is more like JSON. You should be able to parse them with the XML api or the JSON api.
I don't know much about the url requests part. That's a thing I should look for myself too.
-
Hi mate. Please check the fabulous Assets Manager addon: https://github.com/tiagolr/assetsmanager
Is what I use to get images, text from my server. Is super easy and super useful!