Re: IDREFS

Subject: Re: IDREFS
From: Toby Speight <Toby.Speight@xxxxxxxxxxxxxx>
Date: 27 Jul 1998 10:44:34 +0100
Chris> Chris Maden <URL:mailto:crism@xxxxxxxxxxx>

=> In article <199807241921.PAA09205@xxxxxxxxxxxx>, Chris wrote:

Chris> [Toby Speight]
>> I use
>>
>> (referent (attribute-value "with" node))
>>
>> to get a node-list of the things pointed to by the "with" attribute
>> of node.  ("with" is declared as IDREFS; this also works for IDREF
>> attributes).

Chris> (referent) must be something you or someone else wrote.  Jade
Chris> does not understand it, and your use of it is not consistent
Chris> with its definition in 10.2.5 of DSSSL, which is
Chris>
Chris> (define (referent nl)
Chris>   (node-list-property 'referent
Chris> 		      nl))

I have:

    (define (referent nl)
      (node-list-property 'referent nl))

which looks pretty similar to me.  But I do also have:

    (define (attribute-value name nl)
      (node-list-property 'value (attribute name nl)))

which I should have mentioned in my original post.  Thanks for
pointing this out.

-- 


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • IDREFS
    • Chris Maden - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id NAA22556Fri, 24 Jul 1998 13:18:48 -0400 (EDT)
      • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id OAA24111Fri, 24 Jul 1998 14:33:36 -0400 (EDT)
      • Toby Speight - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id OAA24249Fri, 24 Jul 1998 14:36:34 -0400 (EDT)
        • Chris Maden - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id PAA25866Fri, 24 Jul 1998 15:24:27 -0400 (EDT)
          • Toby Speight - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id FAA27435Mon, 27 Jul 1998 05:45:18 -0400 (EDT) <=
      • <Possible follow-ups>
      • Chris Maden - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id RAA29016Fri, 24 Jul 1998 17:28:56 -0400 (EDT)