another newbie question

Subject: another newbie question
From: J-P Theberge <yesod@xxxxxxx>
Date: 04 Dec 1998 17:24:33 -0500
Hi,

I really dont understand why the text is output two times in this case..

This dsssl : 

---------------------------------------------
(element info
 (make element gi: "p"
       (literal "POUR DE PLUS AMPLES INFORMATIONS:")
  (make element gi: "br"
   (make element gi: "br"
       (process-children)))))

(element adresse (process-children))

(element id
	(sosofo-append
	 (process-children)
	 (make element gi: "br")))

(element nom 
	(sosofo-append
	 (process-children)
         (literal ", ")))

(element fonc (process-children))
---------------------------------------------

Make this xml :

---------------------------------------------
    <info>
      <adresse>
	<id><nom>Guy H&#233;bert</nom>
            <fonc>Pr&#233;sident</fonc></id>
	<id><nom>Fran&#231;ois Kalos</nom> 
            <fonc>Directeur affaires corporatives</fonc></id>
       </adresse>
     </info>

---------------------------------------------

become this HTML :

---------------------------------------------

          <P>
            POUR DE PLUS AMPLES INFORMATIONS:<BR>
            <BR>
             Guy H&eacute;bert, Pr&eacute;sident<BR>
            Guy H&eacute;bert, Pr&eacute;sident Fran&ccedil;ois
            Kalos, Directeur affaires corporatives<BR>
          </P>

---------------------------------------------

Why are the names in double???

Thanks

--
JP Theberge
tech@xxxxxxxxxxxxxxx


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread