<RefEntry id="sgml-root-elementX3F"> <!-- This file is generated automatically from the DSSSL source. --> <!-- Do not edit this file! --> <?html-filename sgml-root-elementX3F.html> <RefMeta> <RefEntryTitle>sgml-root-element?</RefEntryTitle> <RefMiscInfo Role="file">dblib.dsl</RefMiscInfo> </RefMeta> <RefNameDiv> <RefName>sgml-root-element?</RefName> <RefPurpose>Test if a node is the root element</RefPurpose> </RefNameDiv> <RefSynopsisDiv><Title>Synopsis</Title> <Synopsis> (sgml-root-element? node) </Synopsis> </RefSynopsisDiv> <RefSect1><Title>Description</Title> <para> Returns <literal>#t</literal> if node is the root element of the current document.</para> </RefSect1> <RefSect1><Title>Author</Title> <para> Norman Walsh, <ndw@nwalsh.com> </para> </RefSect1> <RefSect1><Title>Source Code</Title> <ProgramListing> (define (sgml-root-element? node) ;; Test if a node is the root element (node-list=? node (sgml-root-element node))) </ProgramListing> </RefSect1> </RefEntry>