This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Access to the root node in dsssl ?
- To: Norman Walsh <ndw at nwalsh dot com>
- Subject: Re: DOCBOOK-APPS: Access to the root node in dsssl ?
- From: Yann Dirson <ydirson at alcove dot fr>
- Date: Tue, 25 Sep 2001 17:49:27 +0200
- Cc: docbook-apps at lists dot oasis-open dot org
- List-Id: <docbook-apps.lists.oasis-open.org>
- References: <20010925161308.A14932@kasba.alcove-fr> <87hetrmgta.fsf@nwalsh.com>
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>