Oxygen Author provides support for selecting additional types of nodes. These custom selectors apply to: document, doctype sections, processing-instructions, comments, CDATA sections, and entities. In order for the custom selectors to work in your CSS files you will have to declare the Author extensions namespace at the beginning of the stylesheet documents:
@namespace oxy url('http://www.oxygenxml.com/extensions/author');
Example rules:
document
oxy|document { display:block; }
doctype sections
oxy|doctype { display:block; color:blue; background-color:transparent; }
processing-instructions
oxy|processing-instruction { display:block; color:purple; background-color:transparent; }
comments
oxy|comment { display:block; color:green; background-color:transparent; }
CDATA sections
oxy|cdata{ display:block; color:gray; background-color:transparent; }
entities
oxy|entity { display:morph; editable:false; color:orange; background-color:transparent; }
A sample document rendered using these rules: