> Yes. A macro command is a first class command which can be used
> everywhere other types of commands can be used.
> You really need to specify all commands in a XXE
> configuration file. You cannot define a behavior for a CSS button
> directly in the CSS.
Using the built-in commands, I can define a CSS button which inserts a
particular element, using only CSS, e.g.
ul > li:before {
content: command-button(icon, disc,
command, "insertNode",
parameter, "sameElementAfter");
}
I can define another CSS button that sets an attribute on the element,
but I cannot define a CSS button that both inserts an element and sets
an attribute without using a macro, which requires an XXE configuration
file.
This isn't an unreasonable restriction, just inconvenient, since a
document can specify (with <?xml-stylesheet?>) a CSS document, making
the UI customization "portable", in that anyone with XXE will get the
same buttons and choices for a given document, assuming that the DTD and
CSS are specified with DOCTYPE and <?xml-stylesheet?> using public http
or ftp URLs.
XXE config files require some level of user/sysadmin customization (the
web configuration stuff probably helps with this, but I haven't looked
into this yet).
@alex