Bornemann, Frank (Oerlikon Neumag) wrote:
> for  XXE 3.7.1 I used some css styles that showed the references for any
> included files, e. g.
>    
> *:property("INCLUSION_MARK"):before {
>     display: block;
>     color: red;
>     font-size: small;
>     text-align: left;
> }
> 
> This does not seem to work in release 4.1 any more. Has anything changed
> here?

Yes, most changes in XXE v4 are related to the support of modular documents.

See http://www.xmlmind.com/xmleditor/changes.html

See http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/properties.html

Example (excerpt of
XXE_install_dir/addon/config/common/css/visible_inclusions.imp):

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

*:property(prop|sourceURL):before,
*:property(prop|inclusion):before {
    display: inherit;
    color: red;
    font-size: small;
    text-align: center;
}

*:property(prop|sourceURL):before {
    content: icon(left-half-disc)
             "sourceURL=" property(prop|sourceURL)
             icon(right-half-disc);
}

*:property(prop|inclusion):before {
    content: icon(left-half-disc)
             "inclusion=" property(prop|inclusion)
             icon(right-half-disc);
}

*:property(prop|inclusion):property(prop|sourceURL):before {
    content: icon(left-half-disc)
             "inclusion=" property(prop|inclusion)
             " sourceURL=" property(prop|sourceURL)
             icon(right-half-disc);
}
---


Reply via email to