Re: Newbie question

Subject: Re: Newbie question
From: Daniel Speck <dspeck@xxxxxxx>
Date: Tue, 20 Apr 1999 08:58:18 -0400
Guillaume,

There is a function (data node) that returns the concatenated data contents
of the given node, e.g.,

(element tag1
    (make empty-element
        gi: "tag1"
        attributes: (list (list "value" (data (current-node)))
    )
)

-dan

Guillaume Rouchy wrote:

> 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 ?
>
> Thanks for your help
>
> Guillaume
>
>  DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist



--
Daniel Speck
Bureau of National Affairs, Inc.               Voice: +1 202.452.6596
1231 25th Street, NW                             Fax: +1 202.331.5178
Washington, DC 20037                          e-mail:  dspeck@xxxxxxx



 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)