Any chance to implement something like this easily in the near future?
It would make our proofreading procedure easier... 

Frank

-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: Thursday, June 25, 2009 4:38 PM
To: Bornemann, Frank (Oerlikon Neumag)
Cc: xmleditor-support at xmlmind.com
Subject: Re: [XXE] Styling sections containing comments

Bornemann, Frank (Oerlikon Neumag) wrote:
> I try to style our tree view in a way that sections containing 
> comments get a special prefix icon before the tree line.
> I found that I can do this for elements and processing-instructions 
> using the :contains syntax like this:
> 
> section:contains-processing-instruction(custom-pagebreak):before {
>         content: url(../..//common/icons2/pgbreak.gif);
>         display: marker;
> }
> 
> Is there something similar for comments?
> 

Unfortunately no.

:contains-element(CHILD_NAME)
(http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/containing_chi
ld.html)


and

:contains-processing-instruction(PI_TARGET)
(http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/containing_pi.
html)


are proprietary extensions we have implemented mainly to solve very
specific problems we have faced in the past.

We didn't face a problem which required styling an element containing a
comment.




Oerlikon Textile GmbH & Co. KG, Leverkuser Strasse 65, 42897 Remscheid, 
Deutschland / Germany
Gesellschaftsangaben: Kommanditgesellschaft mit Sitz in Remscheid,
Handelsregister Wuppertal HRA 22506     
Persoenlich haftende Gesellschafterin: OT Textile Verwaltungs GmbH mit Sitz in 
Arbon, Schweiz,  Handelsregister des Kantons Thurgau CH-440.4.021.435-0         
        
Geschaeftsfuehrer: Stefan Kross, Gerard Kuesters, Leen Osterloh, Jan 
Roettgering, 
Clemens Ruckstuhl, Georg Stausberg
Corporate Information: Limited Partnership with registered office in Remscheid,
Register of Companies Wuppertal HRA 22506       
General Partner: OT Textile Verwaltungs LLC with registered office in 
Arbon, Switzerland, Register of Companies of the Canton Thurgau 
CH-440.4.021.435-0
Managing Directors: Stefan Kross, Gerard Kuesters, Leen Osterloh, Jan 
Roettgering, 
Clemens Ruckstuhl, Georg Stausberg


Reply via email to