This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Access to the root node in dsssl ?


On Tue, Sep 25, 2001 at 11:27:29AM -0400, Norman Walsh wrote:
>  (node-property 'document-element (node-property 'grove-root grove-node)))
> 
> Which is the definition of (sgml-root-element) in dblib.dsl :-)

Cool, I already included dblib.  It works fine, thanks much !


> | to no avail.  (children (current-root)) also returns an empty
> | node-list in this context, which seems suspicious to me.
> 
> No current node, no children.

However, (current-root) or (current-node) return a singleton node-list
- according to your (my-debug) func at least.  Looks like there is a
current node, although it is not completely filled.  I wonder to what
extent this behaviour is specified by the standard.

-- 
Yann Dirson <Yann.Dirson@fr.alcove.com>                 http://www.alcove.com/
Free-Software Engineer				      Ingénieur Logiciel-Libre
Free-Software time manager    	       Responsable du temps Informatique-Libre

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]