Sorry for expressing myself mistakable. I used the following expression in CSS:

p:before{
    display: marker;
    content: counter(n) ". Absatz: (" xpath("string-length(.)") ")";
    font-weight: bold;
    color: #0000A0;
}

The number of characters is displayed in the editor after a rebuild. My 
question: Is there a possibility to display this number of characters 
continually during the process of editing (without the need to extend XXE by 
using a Java API)?

Thanks,

Ute Dieckmann 
CMS-Hotline & Benet-Support 
  
NIONEX GmbH
Avenwedder Str. 55 | D-33311 G?tersloh 

e-mail: cms.hotline at bertelsmann.de 
  
Ein Unternehmen der DirectGroup Bertelsmann 
<http://www.nionex.de/> 


-----Urspr?ngliche Nachricht-----
Von: Hussein Shafie [mailto:hussein at pixware.fr] 
Gesendet: Mittwoch, 13. Juli 2005 11:22
An: Dieckmann, Ute, COINC
Cc: xmleditor-support at xmlmind.com
Betreff: Re: [XXE] to count characters

Ute.Dieckmann at bertelsmann.de wrote:
> I would like to implement a function which is able to count characters
> in the XMLMind Editor. My first attempt was to implement the
> CSS-function "counter" and have the number of characters displayed with
> a rebuild attached to a click on "F5".  But I would like to have a
> warning displayed when a specific number of characters in one element is
> exceeded. So is it possible to count characters during the process of
> editing and have the actual number of characters displayed continually
> in the editor? How can I do that?

Questions related to extending XXE using the Java APIs are not answered
in this mailing list.

Please use the private email address reserved to customers.


Reply via email to