This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Access to the root node in dsssl ?
- To: Docbook Apps list <docbook-apps at lists dot oasis-open dot org>
- Subject: Re: DOCBOOK-APPS: Access to the root node in dsssl ?
- From: "Juan R. Migoya" <jmigoya at ingeteam dot es>
- Date: Tue, 25 Sep 2001 17:30:10 +0200
- Cc: Yann Dirson <ydirson at alcove dot fr>
- List-Id: <docbook-apps.lists.oasis-open.org>
- Organization: TEAM S.L.
- References: <20010925161308.A14932@kasba.alcove-fr>
Try
(gi (sgml-root-element))
HTH,
Juan R. Migoya
SPAIN
Yann Dirson wrote:
>
> I'm trying to have my dsssl transformation stylesheets guess the gi of
> the root element (article, book, table, ...), so that I can output the
> correct doctype line.
>
> Unfortunately in the following clause the call to (gi) returns #f.
> Anyone knows what the problem is ?
>
> (root
> (make sequence
> (make document-type
> name: (gi (current-root))
> public-id: "-//Norman Walsh//DTD DocBk XML V3.1.3//EN"
> system-id: "/usr/lib/sgml/dtd/docbook-xml/docbookx.dtd")
> (process-children)))
>
[snip]..........
>
> 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>
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>