Mark Fletcher wrote: > And can its value be referenced inside commands? > > I'd like to create a "debugging" _alert command that will call the XXE > alert command if: a) a parameter is passed, b) property "debug" = > "true". Obviously, the property value must be easy to set, preferably > from multiple places within one configuration tree (to allow for > includes and such). > > Is something like this possible?
No. XXE has facilities which allows * CSS selectors * CSS property values * XPath expressions to *read* properties attached by some Java code (for now, always XMLmind's code) to elements and documents (i.e. Trees). The concept of a Tree property is explained here: http://www.xmlmind.com/xmleditor/_distrib/doc/dev/dom.html#treeproperties Standard properties are documented here: http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xmledit/doc/StandardProperty.html See also http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/properties.html See also http://www.xmlmind.com/xmleditor/_distrib/doc/commands/xpathextfunc.html

