Dear Hussein:

Background color: Solution works: perfect! I`m getting really enthusiastic
about the ergonomic possibilities.

Something that also would be very helpful for our "Knowledge engineers":

In our medical guidelines we have paragraphs with the character of comments.


We give them markers (C1, C2, C3...), that starts with "1" under each new
Top element. 

Top > Comment:before {content:"C"
xpath("count(preceding-sibling::ns:Comment)+1") " ";}

When we create references (xinclude) to these Comments, it would be very
intuitive to see these generated markers inside the references.

Is there any way to address the "before" pseudo-element to reach this goal
or do you have another solution?

Thanks a lot again.

Stefan from Berlin / Stralsund (Germany)



-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Hussein Shafie
Gesendet: Donnerstag, 2. September 2010 18:03
An: Stefan Klatt
Cc: '[email protected]'
Betreff: Re: [XXE] Xinclude: Background color

On 09/02/2010 04:26 PM, Stefan Klatt wrote:
>  
> 
> For ergonomic purposes I want to change the background color of
> xincluded fragments. I can change the foreground color via CSS, but the
> background color seems fixed. Any Idea?
> 
>  

This CSS rule is found in the *built-in* CSS stylesheet, which is
automatically prepended to all the user-level CSS stylesheets:

---
@namespace prop "http://www.xmlmind.com/xmleditor/namespace/property";;

*:property(prop|readOnly, "true") {
    background-color: #E0F0F0;
}
---
(any included content is automatically marked read-only. That's why this
rule applies to ``xincluded fragments''.)

Suffice to redefine it in your own CSS stylesheet.




 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to