Sophie

Sophie

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

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

<RefEntry id="sgml-root-element">
<!-- This file is generated automatically from the DSSSL source. -->
<!-- Do not edit this file! -->
<?html-filename sgml-root-element.html>

<RefMeta>
  <RefEntryTitle>sgml-root-element</RefEntryTitle>
  <RefMiscInfo Role="file">dblib.dsl</RefMiscInfo>
</RefMeta>

<RefNameDiv>
  <RefName>sgml-root-element</RefName>
  <RefPurpose>Returns the node that is the root element of the current document</RefPurpose>
</RefNameDiv>

<RefSynopsisDiv><Title>Synopsis</Title>
<Synopsis>
(sgml-root-element #!optional (grove-node (current-node)))
</Synopsis>
</RefSynopsisDiv>

<RefSect1><Title>Description</Title>

<para>
Returns the node that is the root element of the current document</para>


</RefSect1>

<RefSect1><Title>Author</Title>

<para>
Norman Walsh, &lt;ndw@nwalsh.com&gt;
</para>
</RefSect1>
<RefSect1><Title>Source Code</Title>

<ProgramListing>
(define (sgml-root-element #!optional (grove-node (current-node)))
  ;; Returns the node that is the root element of the current document
  (node-property 'document-element (node-property 'grove-root grove-node)))
</ProgramListing>
</RefSect1>

</RefEntry>