I'm sorry but I don't see how this can be done with XMLmind XML Editor
CSS engine, and this, even if you were willing to write an extension in
Java[tm].
Note that, in terms of rendering, XMLmind XML Editor is much less
ambitious than Arbortext Epic/Adept or Syntext Serna which both aim to
be truly WYSIWYG.
XMLmind XML Editor supports just enough CSS
* to make the document easy to read while you are editing it,
* to make the structure of the document easy to understand.
Marc wrote:
> I just begin to use XmlEditor to try to transfer editing from Epic Editor
> (FOSI Stylesheet) to CSS.
> I have a problem with very specific problem, I found the solution with FOSI
> but I don't find it with CSS and XMLMind Extension, perhaps I have to develop
> a Java extension but I'd preferred not.
> Here is an example of the problem :
> __________The XML _______________
> <essai>
> <Paragraphe>
> <Titre Lie="Oui">
> <Texte>Titre 1 : </Texte>
> </Titre>
> <Chapitre>
> <Texte>Premiere <Style NomStyle="gras">Ligne</Style> coll?e au
> Titre</Texte>
> <Texte>Deuxi?me <Style NomStyle="gras">Ligne</Style></Texte>
> </Chapitre>
> <Chapitre>
> <Texte>Troisi?me <Style NomStyle="gras">Ligne</Style></Texte>
> </Chapitre>
> </Paragraphe>
> <Paragraphe>
> <Titre>
> <Texte>Titre 2</Texte>
> </Titre>
> <Chapitre>
> <Texte>Premiere <Style NomStyle="gras">Ligne</Style> du chapitre
> 2</Texte>
> <Texte>Deuxi?me <Style NomStyle="gras">Ligne</Style> du chapitre
> 2</Texte>
> </Chapitre>
> </Paragraphe>
> </essai>
> ___________The Output______________
> Titre 1 : Premiere -Ligne- coll?e au Titre
> Deuxi?me -Ligne-
> Troisi?me -Ligne-
> Titre 2
> Premiere -Ligne- du chapitre 2
> Deuxi?me -Ligne- du chapitre 2
> _____________________________________
> The solution with Titre:after{content:...} don't run because there is
> childrens of the Texte element.
>
> I thnik it's really not an easy problem.