
Hi Radu, you're right and your answer effectively provided the solution. I had to add some more stuff for <lb>s withing <note>s and such, but that was easy. Thank you a lot for your advice. Regards, Andreas * Oxygen XML Editor Support dixit [2013-10-28 16:30]:
The first-child selector does not work the way you think it does.
A selector like this:
head:first-child:before
matches a <head> element which is a first child of its parent element. Specs here:
So your selectors should be like:
lb{ display:inline; -oxy-display-tags:none; } p lb:before, item lb:before, head lb:before{ content:"\A? "; } p lb:first-child:before, item lb:first-child:before, head lb:first-child:before{ content:"? "; }
-- Dr. Andreas Wagner Project "The School of Salamanca" Academy of Sciences and Literature, Mainz and Institute of Philosophy Goethe University Frankfurt http://salamanca.adwmainz.de Grüneburgplatz 1 (Pf 116, R. 2.455) 60629 Frankfurt am Main Tel. +49 (0)69/798-32774 Fax +49 (0)69/798-32794