24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Author</strong> Developer Guide | 240In order for the custom selectors to work in your CSSs, declare the <strong>Author</strong> extensions namespace at the beginning ofthe stylesheet documents:@namespace oxy url('http://www.oxygenxml.com/extensions/author');• The oxy|document selector matches the entire document:oxy|document {display:block !important;}• The following example changes the rendering of doctype sections:oxy|doctype {display:block !important;color:blue !important;background-color:transparent !important;}• To match the processing instructions, you can use the oxy|processing-instruction selector:oxy|processing-instruction {display:block !important;color:purple !important;background-color:transparent !important;}• The <strong>XML</strong> comments display in <strong>Author</strong> mode can be changed using the oxy|comment selector:oxy|comment {display:block !important;color:green !important;background-color:transparent !important;}• The oxy|cdata selector matches CDATA sections:oxy|cdata{display:block !important;color:gray !important;background-color:transparent !important;}• The oxy|entity selector matches the entities content:oxy|entity {display:morph !important;editable:false !important;color:orange !important;background-color:transparent !important;}• The references to entities, XInclude, and DITA conrefs are expanded by default in <strong>Author</strong> mode and the referredcontent is displayed. The referred resources are loaded and displayed inside the element or entity that refers them.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!