Xss:instance - xkp/Doc GitHub Wiki

Instances will exist on the context of an xss page and will be available to any code that gets executed. Syntactically they look exactly the same as xss:class

Parameters

  • id: The name of the instance in the context

Sample Usage:

<xss:instance id="myInstance">
property name : string;

method do_stuff()
{
    name = "Hello world";
}
</xss:instance>