Re: Help with select-elements function

Subject: Re: Help with select-elements function
From: Tony Graham <tgraham@xxxxxxxxxxxxxxxx>
Date: Thu, 2 Apr 1998 13:35:51 -0500 (EST)
At 2 Apr 1998 12:07 -0600, W. Eliot Kimber wrote:
 > I'm trying to use select-elements to implement the html() location term.
 > However, my selection pattern doesn't match any elements when I include an
 > attribute spec.
 > 
 > If I use:
 > 
 > (select-elements
 >   (descendants locsrc)                 
 >   '( "a" ))
 > 
 > I get a node list of A elements, as I'd expect. However, if I use:
 > 
 > (select-elements                    
 >   (descendants locsrc)                 
 >   '( "a" ("NAME" namevalue)))

I had a similar problem, which I got around by explicitly using
"list":

  (select-elements
   (children
    (ancestor "TGROUP" (current-node)))
   (list "COLSPEC"
    (list "COLNAME" nameend)))

Regards,


Tony Graham
=======================================================================
Tony Graham
Mulberry Technologies, Inc.                         Phone: 301-315-9632
17 West Jefferson Street, Suite 207                 Fax:   301-315-8285
Rockville, MD USA 20850                 email: tgraham@xxxxxxxxxxxxxxxx
=======================================================================


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


Current Thread
  • Help with select-elements function
    • W. Eliot Kimber - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id NAA29774Thu, 2 Apr 1998 13:14:23 -0500 (EST)
      • Tony Graham - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id NAA00331Thu, 2 Apr 1998 13:40:34 -0500 (EST) <=
      • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id NAA00872Thu, 2 Apr 1998 13:56:29 -0500 (EST)
        • Chris Maden - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id OAA01119Thu, 2 Apr 1998 14:03:50 -0500 (EST)
      • G. Ken Holman - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id OAA01590Thu, 2 Apr 1998 14:13:27 -0500 (EST)
      • <Possible follow-ups>
      • W. Eliot Kimber - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id OAA01180Thu, 2 Apr 1998 14:05:30 -0500 (EST)