02-11-2013, 03:49 PM
(02-11-2013, 08:00 AM)oort Wrote: I ended up having to use Split instead of Tokens.ggaliens had introduced me re before, but I always forget about it.
About the xml management, I already thought to suggest it too, but I know how complicated can be learn something new when we are capable to get the same result using what we know.
I think, that after you finish coding the plugin, you could take a look about use a xml builder in order to optimize/organize your final code - think it as a version review.
As I saw in the yafaray documentation:
Quote:Each XML document should start with naming the XML version: <?xml version="1.0"?>
it's xml 1.0 compliant, so you can use xmerl module for that.
Here you have a simple example how to generate an xml file from Erlang.
/Micheus