This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Attibutes in DSSSL
- To: "docbook-apps at lists dot oasis-open dot org" <docbook-apps at lists dot oasis-open dot org>
- Subject: DOCBOOK-APPS: Attibutes in DSSSL
- From: Peter Schrammel <peter dot schrammel at unibw-muenchen dot de>
- Date: Thu, 11 May 2000 10:09:10 +0200
- Organization: No itazinagro!
- Reply-To: peter dot schrammel at gmx dot de
Hi,
(please point me to a correct list if this might be off-topic here)
I have two problems in rewriting the docbook stylesheets:
1.
I try to copy the current-node 1:1 with a simple procedure
(here for empty-elements only):
(define (copy-empty)
(make empty-element
gi: (gi (current-node))
attributes: (attributes (current-node))
))
I assume the problem is that attributes returns a list of nodes but
attributes: needs a list of list of strings. I don't know how to get the
key-value pairs out of the nodes.
2. Is there something like (element (name default) ...)
so that I can match all the children of name to a default handler like
it is done with (default ....) ?
Does anybody know solutions to these problems ? Sorry I'm a DSSSL
newbie.Thanks for your help,
--
Peter Schrammel "We shall meet in the place
UniBw-Muenchen 106/2/116 where there is no darkness"
85579 Neubiberg (1984)
ICQ: 5469131