Subject: Re: call of non-function object From: shennessy@xxxxxxxxxx Date: Fri, 24 Jul 98 11:21:59 -0800 |
Thank you for the clue.. There was another problem with (children (enl)) which when corrected to ( children enl ) results in better behavior. The result now reads: (if ( string=?( get-str-attr-no-err "ID" ( select-elements (children enl ) (normalize "graphic") ) ) %test-value% ) dometrue domefalse );;eoif -----Original Message----- From: dssslist@xxxxxxxxxxxxxxxx <dssslist@xxxxxxxxxxxxxxxx> To: dssslist@xxxxxxxxxxxxxxxx <dssslist@xxxxxxxxxxxxxxxx> Cc: oisin@xxxxxxxx <oisin@xxxxxxxx> Date: Friday, July 24, 1998 9:12 AM Subject: Re: call of non-function object In response to shennessy@xxxxxxxxxx: In your code where you say: "WHAT JADE DOES NOT LIKE.. (if ( string? ( (attribute-string "ID" ......." note that (attribute-string ...) returns a string, say "string-val", then the extra ( before it means that Jade sees ("string-val"), which tries to call the function "string-val", which is a "non-function object". In DSSSL there is a difference between ((a)) and (a). Oisin McGuinness Sumitomo Bank Capital Markets 277 Park Avenue New York NY 10172 USA (212)-224-4913, email: oisin@xxxxxxxx DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Attachment:
smime.p7s
Description: Binary data
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: call of non-function object, Oisin McGuinness | Thread | Re: call of non-function object, shennessy |
IDREFS, Chris Maden | Date | Re: IDREFS, Norman Walsh |
Month |