Subject: Re: Jade, dsssl, .... From: Brandon Ibach <bibach@xxxxxxxxxxxxxx> Date: Wed, 8 Dec 1999 14:09:28 -0600 |
Quoting Peter Sognefur <sognefur@xxxxxxxxxxx>: > (mode toc > (element homepage > (make link > destination: (current-node-address) > (literal (attribute-string "url") > (process-children-trim))))) > > This is the error message that I get from Jade: > > jade:table.dsl:170:9:E: 2nd argument for primitive "literal" of wrong type: > "#<unknown object 13033224>" not a string > jade:table.dsl:170:9:E: 2nd argument for primitive "literal" of wrong type: > "#<unknown object 13034504>" not a string > jade:table.dsl:170:9:E: 2nd argument for primitive "literal" of wrong type: > "#<unknown object 13035784>" not a string > I'll defer to Jany's message on most things, as I think he pointed out the most important problems, and asked the right questions. As for these errors, they are due to the (process-children-trim) call being inside the (literal) call. Move one of the ")"s from the end of the (p-c-t) line to the end of the (literal) line, and you should have no problem. Whether you actually *want* the URL and the text of the <homepage> to be stuck together in the link is another matter. :) -Brandon :) DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Jade, dsssl, ...., Jany Quintard | Thread | Re: Jade, dsssl, .... (RTF hackers,, Peter Nilsson |
Re: Jade, dsssl, ...., Jany Quintard | Date | Re: displaying dashes, Bek Oberin |
Month |