You are not logged in.

1

Thursday, August 8th 2019, 3:03pm

accessing xml from plugin.js (javascript file)

Hi,
I am reading documentation but I cannot find how to do the following.

I have in the xml file:

<plugin name="myplugin" devices="html5" type="container" ........ url="myplugin.js" >

<layer name="mylayer" .................. />
</plugin>

Would it be possible to add attributes and set value to "mylayer" from "myplugin.js"?
How?

Thank you.

Regards,

Giuseppe