Re: IDREFS

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

=> In article <199807241714.NAA04207@xxxxxxxxxxxx>, Chris wrote:

Chris> Is there something I'm overlooking?  I have an element with an
Chris> IDREFS attribute, and I'd like to be able to create an HTML link
Chris> to each target, but I don't see a way for DSSSL to tokenize the
Chris> attribute.  That surprises me a little bit.
Chris>
Chris> I can loop over the string and tokenize it myself, but seems
Chris> nasty, given that the parser already had to do that during
Chris> validation.  Any suggestions?

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).

-- 


 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)