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
- id: The name of the instance in the context
<xss:instance id="myInstance">
property name : string;
method do_stuff()
{
name = "Hello world";
}
</xss:instance>