Subject: Re: Using entity ids to generate attributes for HREF in html output. From: Toby Speight <Toby.Speight@xxxxxxxxxxxxxxxxxxxxxxxxxxx> Date: 06 Dec 1999 16:31:18 +0000 |
Peter> Peter Bennett <URL:mailto:peter.bennett@xxxxxxxxxxxxxxxx> 0> In article 0> <F159D3979D8AD21184AD0000E8DFA52207E971@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>, 0> Peter wrote: Peter> (make element Peter> gi: "A" Peter> attributes: '(("HREF" "astaticlink")))) Peter> (process-first-descendant 'activitytitle)) Peter> Peter> (make element Peter> gi: "A" Peter> attributes: '(("HREF" (attribute-string "id")) Peter> (process-first-descendant 'activitytitle)) Peter> Peter> But then I get the following error message: Peter> invalid value for "attributes" characteristic. You don't want (attribute-string "id") to be the actual value; you want to evaluate it. But you've quoted the whole form using "'", which won't do what you want. Use something like attributes: (list (list "HREF" (attribute-string "id")) to construct the attributes list. -- DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Using entity ids to generate attrib, Peter Bennett | Thread | Re: Using entity ids to generate at, Brandon Ibach |
Using entity ids to generate attrib, Peter Bennett | Date | Re: Using entity ids to generate at, Brandon Ibach |
Month |