Re: Newbie question

Subject: Re: Newbie question
From: Norman Walsh <ndw@xxxxxxxxxx>
Date: Tue, 20 Apr 1999 09:36:34 -0400
/ Guillaume Rouchy <rouchyg@xxxxxxxxxxxxxxxxxxxxxxxxxxx> was heard to say:
| I would like to include the content of a children into an attribute,
| like the following:
| <Tag1>Content of Tag1 is only CDATA</Tag1>
| converted to:
| <Tag1 Value="Content of Tag1 is only CDATA"/>
| 
| How can I do this ?

(element Tag1
  (make empty-element gi: "Tag1"
        attributes: (list (list "Value" (data (current-node))))))

                                        Cheers,
                                          norm
-- 
Norman Walsh <ndw@xxxxxxxxxx>      | The First Amendment is often
http://nwalsh.com/                 | inconvenient. But that is besides
                                   | the point. Inconvenience does not
                                   | absolve the government of its
                                   | obligation to tolerate
                                   | speech.--Justice Anthony Kennedy,
                                   | in 91-155


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


Current Thread
  • Newbie question
    • Guillaume Rouchy - Tue, 20 Apr 1999 08:21:10 -0400 (EDT)
      • Daniel Speck - Tue, 20 Apr 1999 09:08:46 -0400 (EDT)
      • Norman Walsh - Tue, 20 Apr 1999 09:53:39 -0400 (EDT) <=
      • <Possible follow-ups>
      • hkirschk - Tue, 20 Apr 1999 12:01:53 -0400 (EDT)