Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > 6b3585ea67ce3e79c9049b5b33294cdd > files > 642

docbook-style-dsssl-doc-1.79-16.mga7.noarch.rpm

<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, &lt;ndw@nwalsh.com&gt;
</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>