Re: call of non-function object

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
  • call of non-function object
    • shennessy - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id OAA17796Thu, 23 Jul 1998 14:29:14 -0400 (EDT)
      • Toby Speight - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id FAA09993Fri, 24 Jul 1998 05:10:43 -0400 (EDT)
      • <Possible follow-ups>
      • Oisin McGuinness - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id JAA14828Fri, 24 Jul 1998 09:15:02 -0400 (EDT)
      • shennessy - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id OAA23964Fri, 24 Jul 1998 14:29:16 -0400 (EDT) <=
      • shennessy - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id OAA24473Fri, 24 Jul 1998 14:40:56 -0400 (EDT)