Hello,

I want to display in the editor the target of the processing  
instructions that appear in a Docbook file. (It is necessary because I  
use both dbfo and dbhtml processing instructions.) This has turned out  
to be extremely difficult.

It was possible for me to replace the content (as in  
http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/pi_comments.html),  
but then it could not be edited.

The best I can do now is to add

*:processing-instruction():before {
     display: inline;
     font-size: small;
     color: #008000;
     content: xpath('name(processing-instruction())'); }

to my customized stylesheet. But it doesn't work for a sequence of two  
PIs where only the target of the first one is displayed. What is here  
going on? (And why can't the editor treat a PI as "just another node"?)


- Markus


Reply via email to