Subject: Re: Finding the root element From: "W. Eliot Kimber" <eliot@xxxxxxxxxxxxxx> Date: Thu, 29 Oct 1998 07:24:44 -0600 |
At 07:38 AM 10/29/98 -0500, Norman Walsh wrote: >Apologies if I asked this once before... > >Is it possible to find the node of the document element outside >the context of another element? Specifically, can I find it in >a function called from (root)? This should work from any node in the grove: (define (docelem node) (node-propety 'document-element (node-property 'grove-root node))) Cheers, E. -- <Address HyTime=bibloc> W. Eliot Kimber, Senior Consulting SGML Engineer ISOGEN International Corp. 2200 N. Lamar St., Suite 230, Dallas, TX 75202. 214.953.0004 www.isogen.com </Address> DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Finding the root element, Norman Walsh | Thread | Re: Finding the root element, Norman Walsh |
Finding the root element, Norman Walsh | Date | Re: Finding the root element, Norman Walsh |
Month |