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 7, All stylesheet extension points).

Example (XHTML - excerpt of xhtml_user_styles.css):

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