<RefEntry id="has-ancestor-memberX3F"> <!-- This file is generated automatically from the DSSSL source. --> <!-- Do not edit this file! --> <?html-filename has-ancestor-member-p.html> <RefMeta> <RefEntryTitle>has-ancestor-member?</RefEntryTitle> <RefMiscInfo Role="file">dblib.dsl</RefMiscInfo> </RefMeta> <RefNameDiv> <RefName>has-ancestor-member?</RefName> <RefPurpose>Returns true if the specified node has one of a set of GIs as an ancestor</RefPurpose> </RefNameDiv> <RefSynopsisDiv><Title>Synopsis</Title> <Synopsis> (has-ancestor-member? nd gilist) </Synopsis> </RefSynopsisDiv> <RefSect1><Title>Description</Title> <para> Returns <literal>#t</literal> if <literal>nd</literal> has an ancestor whose GI is a member of <literal>gilist</literal>.</para> </RefSect1> <RefSect1><Title>Author</Title> <para> Norman Walsh, <ndw@nwalsh.com> </para> </RefSect1> <RefSect1><Title>Source Code</Title> <ProgramListing> (define (has-ancestor-member? nd gilist) ;; Returns true if the specified node has one of a set of GIs as an ancestor (not (node-list-empty? (ancestor-member nd gilist)))) </ProgramListing> </RefSect1> </RefEntry>