Re: HTML.trans: transf. to remove any element and keep it's content

On Sat, 23 Oct 2004 12:51:13 +0000
Jakub Holý <j.holy@sh.cvut.cz> wrote:

> Hello,
>    is it possible to create such a transformation that transforms
> '<any_tag>some text</any_tag>' into 'some text'?
> 
> - I know how to do it for a given element, e.g.
> 'Remove strong: (strong{*+}); { * > :*; }' (1).
> - But if I try to generalize it like this:
> 'Remove element: (elm:*{*+}); { * > :*; }' (2)
> it removes instead the parent element.
> - If I have the structure text:strong:p:body, (1) removes strong 
> correctly, while (2) removes p.
> 
> Of course I could rewrite (1) for any possible tag but I believe there 
> must be an easier way. Thank's!
> 
>                   Jakub Holy
> -- 

Hi Jakub,

We cannot answer your question now.
We'll have a look at that problem as soon as possible (i added an entry
in the bug list).

Regards
     Irene.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France

Received on Monday, 25 October 2004 08:15:54 UTC