! This file describes transformations for Paragraphe elements ! Stephane Bonhomme - Oct. 1997 ! see file README.trans for the transformation language description !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! TRANS Paragraphe_titré; PATTERN (Paragraphe{title:Simple_paragraphe}),(cont:Paragraphe)+; RULES title > Paragraphe.Paragraphe_titré.Titre_parag; cont > Paragraphe.Paragraphe_titré.Contenu_parag:*; END TRANS Liste; PATTERN (Paragraphe)+; RULES Paragraphe > Paragraphe.Liste:Item_liste; END TRANS Remove_List; PATTERN Liste{(Item_liste{*+})+}; RULES * > :*; END TRANS Paragraphes; PATTERN Paragraphe{Paragraphe_titré{Titre_parag, Contenu_parag{(cont:*)+}}}; RULES Titre_parag > :Paragraphe.Simple_paragraphe; cont > :*; END