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

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!