This almost works, except for one thing:
The displayed location path now is not relative any more.
It is now something like "file:/C:/fullpath/chapter/foo.xml" and was 
"../chapter/foo.xml". Any chance to get the relative values displayed again?


Best regards

Frank Bornemann

-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: Monday, January 05, 2009 6:25 PM
To: Bornemann, Frank (Oerlikon Neumag)
Cc: xmleditor-support at xmlmind.com
Subject: Re: [XXE] css formatting for INCLUSION_MARK etc.

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);
}
---





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: Dr. Carsten Voigtlaender (Vorsitzender), 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: Dr. Carsten Voigtlaender (Chairman), Stefan Kross,
Gerard Kuesters, Leen Osterloh, Jan Roettgering, Clemens Ruckstuhl, Georg 
Stausberg

Reply via email to