9. component

component(className, param, ..., param)

Inserts a standard Java™ AWT Component or Swing JComponent in generated content.

className is the name of a Java class which implements the interface com.xmlmind.xmledit.styledview.ComponentFactory (see Chapter 8, Writing style sheet extensions in XMLmind XML Editor - Developer's Guide).

Example (XHTML - excerpt of xhtml_user_styles.css):

select {
    display: inline-block;
    ...
    content: component("com.xmlmind.xmleditext.xhtml.form.Select");
}